How to get TabButton

import { TabButton } from 'fds/components';

Type: Component

Creates a button with a Label for use within TabButtons. Optionally visualizes an active state which can be used when the represented tab is visible.


# Name Type Description
1. [isActive] Boolean
  Default value
2. [isHighlighted] Boolean

Whether or not the component should be rendered in a highlighted state.

  Default value
3. label String

The human readable label displayed in the component.

4. onClick Function

A callback that is called whenever the component is clicked and is not in a disabled state.

For more information about React and "events", check the React documentation

# Name Type Description
1. event ReactSyntheticEvent
Was this page helpful?