UNPKG

@wonderflow/react-components

Version:

UI components from Wonderflow's Wanda design system

19 lines 650 B
/// <reference types="react" /> import { Polymorphic } from '../..'; import { ListItemProps } from './list-item'; export declare type ListProps = { /** * Set the dimension of the items in the list. This affects also the marker size. */ dimension?: 'small' | 'regular' | 'big'; /** * Set to show or hide the marker indicator beside each item in the list. */ hideMarker?: boolean; }; declare type PolymorphicList = Polymorphic.ForwardRefComponent<'ul', ListProps> & { Li: React.ForwardRefExoticComponent<ListItemProps>; }; export declare const List: PolymorphicList; export {}; //# sourceMappingURL=list.d.ts.map