@engie-group/fluid-design-system
Version:
The Fluid Design System is ENGIE’s open-source library to create, build and deliver ENGIE digital services in a more efficient way.
20 lines (19 loc) • 412 B
TypeScript
import { Scale } from '../../variations';
export declare const TAB_SCALES: readonly ["xs", "sm", "md", "lg"];
export type TabScale = Extract<Scale, (typeof TAB_SCALES)[number]>;
export type TabsProperties = {
/**
* Scale of the tab item.
*/
scale?: TabScale;
};
export type TabProperties = {
/**
* Tab id
*/
id: string;
/**
* Tab label
*/
label?: string;
};