BrowserTab
Navigation & Chrome

BrowserTab

Render one tab inside a TabStrip with its title and interaction handlers.

BrowserTab renders one tab inside a TabStrip.

Import

TSX
import { BrowserTab } from "@solarius/onset";

Props

BrowserTabProps props
PropTypeDefaultDescription
faviconReactNode—Favicon rendered before the title.
titleReactNode—Tab title text.
onClose() => void—Called when the close button is clicked.
activeboolean—Highlights the tab as the current one.

Example

BrowserTab