Skip to content

Commit

Permalink
update react imports
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Nov 2, 2021
1 parent 5ecd73c commit c88ea66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/assets/plugins/metadata/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@
<sl-tab-panel name="react">\n
To import this component using [\`@shoelace-style/react\`](https://www.npmjs.com/package/@shoelace-style/react):
\`\`\`js
import '@shoelace-style/react/dist/${component.tagName.replace(/^sl-/, '')}';
import { ${component.name} } from '@shoelace-style/react';
\`\`\`
</sl-tab-panel>
</sl-tab-group>
Expand Down

0 comments on commit c88ea66

Please sign in to comment.