<MagicTabSelect />
Overview
- This component is used for animating the tab selection indicator.
An example of this component is seen on the Tabs example.
Props
interface MagicTabSelectProps {
id: string;
children: JSX.Element;
transition?: Transition;
}
Prop name | Default value | Description |
---|---|---|
id | undefined | Used to identify the component being animated |
transition (opens in a new tab) | set by framer-motion | The transition animation for the tab select. |