Skip to content

Commit

Permalink
fix typo in js example modals (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
Templarian authored Sep 15, 2023
2 parents 8f208e2 + e7daa7f commit c5c790d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/components/IconUsageExamples/ExampleReact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const ExampleReact: FunctionComponent<ExampleReactProps> = ({ iconName, library,
>
<Code className={cx('language-jsx', classes.code)} displayAsBlock>{
`import Icon from '@mdi/react';
import { ${jsName} } from '@${libraryInfo.jsPackage}';
import { ${jsName} } from '${libraryInfo.jsPackage}';
<Icon path={${jsName}} size={1} />`
}</Code>
Expand Down
2 changes: 1 addition & 1 deletion client/components/IconUsageExamples/ExampleVue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const ExampleVue: FunctionComponent<ExampleVueProps> = ({ iconName, library, lib
<script>
import SvgIcon from '@jamescoyle/vue-icon';
import { ${jsName} } from '@${libraryInfo.jsPackage}';
import { ${jsName} } from '${libraryInfo.jsPackage}';
export default {
name: "my-component",
Expand Down

0 comments on commit c5c790d

Please sign in to comment.