Skip to content

Commit 6386ae7

Browse files
tatinachersergeysova
authored andcommitted
fix(ui): fix component import line
1 parent 5e8f27c commit 6386ae7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gatsby-theme-woly/src/templates/usage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { graphql } from 'gatsby';
33
import { MDXRenderer } from 'gatsby-plugin-mdx';
4-
import { camelCase } from 'change-case';
4+
import { pascalCase } from 'change-case';
55
import { Layout } from '../components/layout';
66

77
const installation = ({ package: p }) =>
@@ -17,7 +17,7 @@ const ComponentPage = ({ data, pageContext }) => {
1717
<h2>{frontmatter.name}</h2>
1818
<h3>Use it</h3>
1919
<pre>
20-
import {'{'} {camelCase(frontmatter.name)} {'}'} from "
20+
import {'{'} {pascalCase(frontmatter.name)} {'}'} from "
2121
{frontmatter.package}";
2222
</pre>
2323
<h3>Installation</h3>

0 commit comments

Comments
 (0)