1 | import React, { FunctionComponent, ReactNode, ComponentProps } from 'react';
|
2 | export interface TitleProps {
|
3 | active?: boolean;
|
4 | loading?: boolean;
|
5 | disabled?: boolean;
|
6 | }
|
7 | export interface RightProps {
|
8 | active?: boolean;
|
9 | }
|
10 | export interface CenterTextProps {
|
11 | active?: boolean;
|
12 | disabled?: boolean;
|
13 | }
|
14 | export interface LeftProps {
|
15 | active?: boolean;
|
16 | }
|
17 | export interface ItemProps {
|
18 | disabled?: boolean;
|
19 | }
|
20 | declare const Item: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, ItemProps, import("@storybook/theming").Theme>;
|
21 | export declare type LinkWrapperType = FunctionComponent;
|
22 | export interface ListItemProps extends Pick<ComponentProps<typeof Item>, Exclude<keyof ComponentProps<typeof Item>, 'href' | 'title'>> {
|
23 | loading?: boolean;
|
24 | left?: ReactNode;
|
25 | title?: ReactNode;
|
26 | center?: ReactNode;
|
27 | right?: ReactNode;
|
28 | active?: boolean;
|
29 | disabled?: boolean;
|
30 | href?: string;
|
31 | LinkWrapper?: LinkWrapperType;
|
32 | }
|
33 | declare const ListItem: FunctionComponent<ListItemProps>;
|
34 | export default ListItem;
|