1 | import type { FC, ReactNode } from 'react';
|
2 | import { NativeProps } from '../../utils/native-props';
|
3 | export declare type LinkItem = {
|
4 | text: string;
|
5 | href: string;
|
6 | };
|
7 | export declare type ChipItem = {
|
8 | text: ReactNode;
|
9 | type?: 'plain' | 'link';
|
10 | };
|
11 | export 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'>;
|
19 | export declare const Footer: FC<FooterProps>;
|