T

SegmentedControlItem

A tab of a segmented control, with the page it shows.

type SegmentedControlItem = { … }

Members

idstring

A key unique among the control's tabs.

labelstring

The text shown on the tab.

page?React.ReactNode

What SegmentedControlPages renders while this tab is selected.