@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.
28 lines (27 loc) • 1.04 kB
TypeScript
import { Scale, TBrandVariants, TNeutralVariants, TStatusPrimaryVariants } from '../../../variations';
export declare const NAVIGATION_ACTION_VARIANTS: readonly ["primary", "brand", "tertiary", "inverse", "discovery"];
export type NavigationActionVariant = Extract<TStatusPrimaryVariants | TNeutralVariants | TBrandVariants, (typeof NAVIGATION_ACTION_VARIANTS)[number]>;
export declare const NAVIGATION_ACTION_SCALES: readonly ["xs", "sm", "md", "lg"];
export type NavigationActionScale = Extract<Scale, (typeof NAVIGATION_ACTION_SCALES)[number]>;
export type NavigationActionProperties = {
/**
* Leading icon name
*/
icon?: string;
/**
* The color scheme variant of the navigation action.
*/
variant?: NavigationActionVariant;
/**
* Scale of the navigation action.
*/
scale?: NavigationActionScale;
/**
* Whether the navigation action is expandable.
*/
expandable?: boolean;
/**
* Whether the navigation action is expanded.
*/
expanded?: boolean;
};