import React from 'react'; import { DefaultProps, MantineNumberSize, Selectors } from '@asuikit/styles'; import { ForwardRefWithStaticComponents } from '@asuikit/utils'; import { ListItem, ListItemStylesNames } from './ListItem/ListItem'; import useStyles from './List.styles'; export type ListStylesNames = ListItemStylesNames | Selectors; export interface ListProps extends DefaultProps, Omit, 'type'> { variant?: string; /** components only */ children: React.ReactNode; /** List type: ol or ul */ type?: 'ordered' | 'unordered'; /** Include padding-left to offset list from main content */ withPadding?: boolean; /** Font size from theme or number to set value */ size?: MantineNumberSize; /** Icon that should replace list item dot */ icon?: React.ReactNode; /** Spacing between items from theme or number to set value */ spacing?: MantineNumberSize; /** Center items with icon */ center?: boolean; /** List style */ listStyleType?: React.CSSProperties['listStyleType']; } type ListComponent = ForwardRefWithStaticComponents; export declare const List: ListComponent; export {}; //# sourceMappingURL=List.d.ts.map