BrowserTab
Render one tab inside a TabStrip with its title and interaction handlers.
BrowserTab renders one tab inside a TabStrip.
Import
import { BrowserTab } from "@solarius/onset";Props
| Prop | Type | Default | Description |
|---|---|---|---|
favicon | ReactNode | — | Favicon rendered before the title. |
title | ReactNode | — | Tab title text. |
onClose | () => void | — | Called when the close button is clicked. |
active | boolean | — | Highlights the tab as the current one. |