update react imports

This commit is contained in:
Cory LaViska
2021-11-02 17:13:12 -04:00
parent 5ecd73c599
commit c88ea6666b

View File

@@ -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>