@burrow-ui/tabs
v0.1.7
Published
Pill-style tabs for Burrow UI (with optional per-tab icon)
Maintainers
Readme
@burrow-ui/tabs
Pill-style tabs.
import home from "./home.svg";
import {Tabs} from "@burrow-ui/tabs";
const tabs = [{label: "Home", iconUrl: home}, {label: "Profile"}];
const [active, setActive] = useState(0);
<Tabs tabs={tabs} activeTab={active} onTabChange={setActive} fullWidth />;content is allowed on the Tab type but the component itself only
renders headers — wire up content separately based on activeTab.
