Skip to content

Commit de972d2

Browse files
authored
Merge pull request #46 from kaseyvee/docs
docs(codeSnippet): update title and description for consistency
2 parents 92426ad + 0c13912 commit de972d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/codeSnippet/codeSnippet.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import React from 'react'
33

44
import CodeSnippet from './codeSnippet'
55
export default {
6-
title: 'Rustic UI/CodeSnippet/CodeSnippet',
6+
title: 'Rustic UI/Code Snippet/Code Snippet',
77
component: CodeSnippet,
88
tags: ['autodocs'],
99
parameters: {
1010
layout: 'centered',
1111
docs: {
1212
description: {
13-
component: `The CodeSnippet component, powered by [CodeMirror](https://codemirror.net/), enables the display of code blocks with syntax highlighting for various programming languages.
13+
component: `The \`CodeSnippet\` component, powered by [CodeMirror](https://codemirror.net/), enables the display of code blocks with syntax highlighting for various programming languages.
1414
For further customization of the component's theme, refer to the [styling guide](https://codemirror.net/examples/styling/) provided by the CodeMirror library.
1515
\nNote: CodeMirror libraries are not bundled, so they must be included in the application's build process. Please install the following codemirror dependencies if you want to use CodeSnippet component in your project:
1616
\n<pre><code>npm i @codemirror/language @codemirror/language-data @codemirror/state @codemirror/theme-one-dark @codemirror/view </code></pre>`,

0 commit comments

Comments
 (0)