UNPKG

@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.

23 lines (22 loc) 828 B
import { ListItemProperties } from '../properties'; import { TNeutralVariants, TStatusPrimaryVariants } from '../../../variations'; export declare const LIST_NAVIGATION_ITEM_VARIANTS: readonly ["primary", "discovery"]; export type ListNavigationItemVariant = Extract<TStatusPrimaryVariants | TNeutralVariants, (typeof LIST_NAVIGATION_ITEM_VARIANTS)[number]>; export type ListNavigationItemProperties = ListItemProperties & { /** * Whether the list item is currently selected. */ selected?: boolean; /** * Whether the list navigation item is expandable. */ expandable?: boolean; /** * Whether the list navigation item is expanded. */ expanded?: boolean; /** * The color scheme variant of the list navigation item. */ variant?: ListNavigationItemVariant; };