We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e8f27c commit 6386ae7Copy full SHA for 6386ae7
gatsby-theme-woly/src/templates/usage.js
@@ -1,7 +1,7 @@
1
import React from 'react';
2
import { graphql } from 'gatsby';
3
import { MDXRenderer } from 'gatsby-plugin-mdx';
4
-import { camelCase } from 'change-case';
+import { pascalCase } from 'change-case';
5
import { Layout } from '../components/layout';
6
7
const installation = ({ package: p }) =>
@@ -17,7 +17,7 @@ const ComponentPage = ({ data, pageContext }) => {
17
<h2>{frontmatter.name}</h2>
18
<h3>Use it</h3>
19
<pre>
20
- import {'{'} {camelCase(frontmatter.name)} {'}'} from "
+ import {'{'} {pascalCase(frontmatter.name)} {'}'} from "
21
{frontmatter.package}";
22
</pre>
23
<h3>Installation</h3>
0 commit comments