UNPKG

antd-mobile

Version:

<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />

15 lines (14 loc) 560 B
import { FC, ReactNode } from 'react'; import { NativeProps } from '../../utils/native-props'; export declare type SideBarItemProps = { title?: ReactNode; disabled?: boolean; badge?: ReactNode; } & NativeProps; export declare const SideBarItem: FC<SideBarItemProps>; export declare type SideBarProps = { activeKey?: string | null; defaultActiveKey?: string | null; onChange?: (key: string) => void; } & NativeProps<'--width' | '--height' | '--item-border-radius' | '--background-color'>; export declare const SideBar: FC<SideBarProps>;