mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
* remove side-effects, update React docs for cherry-picking * prettier * add PR # * prettier * fix react import paths * Update docs/pages/frameworks/react.md Co-authored-by: Cory LaViska <cory@abeautifulsite.net> * add colons to imports --------- Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
623 B
623 B
meta, layout
| meta | layout | ||||
|---|---|---|---|---|---|
|
component |
<sl-tab>Tab</sl-tab>
<sl-tab active>Active</sl-tab>
<sl-tab closable>Closable</sl-tab>
<sl-tab disabled>Disabled</sl-tab>
import SlTab from '@shoelace-style/shoelace/dist/react/sl-tab';
const App = () => (
<>
<SlTab>Tab</SlTab>
<SlTab active>Active</SlTab>
<SlTab closable>Closable</SlTab>
<SlTab disabled>Disabled</SlTab>
</>
);
:::tip Additional demonstrations can be found in the tab group examples. :::