@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.
26 lines (25 loc) • 725 B
TypeScript
export declare const LIST_ITEM_TEXT_DISTRIBUTION: readonly ["vertical", "horizontal"];
export type ListItemTextDistribution = (typeof LIST_ITEM_TEXT_DISTRIBUTION)[number];
export type ListItemProperties = {
/**
* Force list item to be interactive without wrapper.
*/
interactive?: boolean;
/**
* List item secondary text
*/
secondaryText?: string;
/**
* Leading icon name
*/
leadingIcon?: string;
/**
* Trailing icon name
*/
trailingIcon?: string;
/**
* The text distribution of the list item.
* If set to 'vertical', the secondary text will be displayed below the primary text.
*/
textDistribution?: ListItemTextDistribution;
};