1 | import * as React from "react";
|
2 | import * as StyledSystem from "styled-system";
|
3 | import { BoxProps } from "../Box";
|
4 | import { Omit } from "../common-types";
|
5 | import { IconProps } from "../Icon";
|
6 | import { PseudoBoxProps } from "../PseudoBox";
|
7 |
|
8 | interface IList {
|
9 | |
10 |
|
11 |
|
12 | styleType?: StyledSystem.ResponsiveValue<
|
13 | React.CSSProperties["listStyleType"]
|
14 | >;
|
15 | |
16 |
|
17 |
|
18 | stylePos?: StyledSystem.ResponsiveValue<
|
19 | React.CSSProperties["listStylePosition"]
|
20 | >;
|
21 | |
22 |
|
23 |
|
24 | spacing?: StyledSystem.MarginBottomProps["marginBottom"];
|
25 | }
|
26 |
|
27 | type ListProps = IList & BoxProps;
|
28 | declare const List: React.FC<ListProps>;
|
29 | export const ListItem: React.FC<PseudoBoxProps>;
|
30 |
|
31 | type ListIconProps = Omit<IconProps, "name"> & {
|
32 | icon: IconProps["name"] | React.ComponentType;
|
33 | };
|
34 |
|
35 | export const ListIcon: React.FC<ListIconProps>;
|
36 |
|
37 | export default List;
|