UNPKG

593 BTypeScriptView Raw
1import type { FC, ReactNode } from 'react';
2import { NativeProps } from '../../utils/native-props';
3export declare type LinkItem = {
4 text: string;
5 href: string;
6};
7export declare type ChipItem = {
8 text: ReactNode;
9 type?: 'plain' | 'link';
10};
11export declare type FooterProps = {
12 label?: ReactNode;
13 links?: LinkItem[];
14 content?: ReactNode;
15 chips?: ChipItem[];
16 onChipClick?: (item: ChipItem, index: number) => void;
17 onLinkClick?: (item: LinkItem, index: number) => void;
18} & NativeProps<'--background-color'>;
19export declare const Footer: FC<FooterProps>;