UseTabReturnValue
Properties
Link copied to clipboard
If true
, the tab has visible focus. This is a workaround for browsers that do not support this feature natively.
Link copied to clipboard
Resolver for the root slot's props.
Link copied to clipboard
If true
, the tab is highlighted.
Link copied to clipboard
Ref to the root slot's DOM element.
Link copied to clipboard
Sets the focus-visible state of the tab. This is a workaround for browsers that do not support this feature natively.
Link copied to clipboard
Total number of tabs in the nearest parent TabsList. This can be used to determine if the tab is the last one to style it accordingly.