update react imports

pull/580/head
Cory LaViska 2021-11-02 17:13:12 -04:00
rodzic 5ecd73c599
commit c88ea6666b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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