UNPKG

@storybook/design-system

Version:
26 lines 1.07 kB
import React, { ComponentProps, FC, ReactNode } from 'react'; interface LinkStyleProps { activeColor: string; active?: boolean; isLoading?: boolean; disabled?: boolean; } declare const buildStyledLinkWrapper: import("@emotion/weak-memoize").UnaryFn<LinkWrapperType, import("@storybook/theming").StyledComponent<Record<string, any> & LinkStyleProps, LinkStyleProps, import("@storybook/theming").Theme>>; declare type StyledLinkWrapperProps = ComponentProps<ReturnType<typeof buildStyledLinkWrapper>>; export declare const ListItem: FC<Props & Omit<StyledLinkWrapperProps, 'activeColor'>>; declare type AnyProps = Record<string, any>; declare type LinkWrapperType = (props: AnyProps) => React.ReactElement<any, any>; interface Props { appearance?: 'primary' | 'secondary'; isLoading?: boolean; left?: ReactNode; title?: ReactNode; center?: ReactNode; right?: ReactNode; active?: boolean; disabled?: boolean; LinkWrapper?: LinkWrapperType | null; onClick?: Function; } export {}; //# sourceMappingURL=ListItem.d.ts.map