UNPKG

antd-mobile-taro-ui

Version:

以antd-mobile为设计标准,基于taro框架的微信小程序组件库

17 lines (16 loc) 659 B
import React, { FC, ReactNode } from 'react'; import { NativeProps } from 'antd-mobile/es/utils/native-props'; import { BadgeProps } from '../badge'; export declare type SideBarItemProps = { title?: ReactNode; disabled?: boolean; badge?: BadgeProps['content']; } & NativeProps; export declare const SideBarItem: FC<SideBarItemProps>; export declare type SideBarProps = { activeKey?: string | null; defaultActiveKey?: string | null; onChange?: (key: string) => void; children?: React.ReactNode; } & NativeProps<'--width' | '--height' | '--item-border-radius' | '--background-color'>; export declare const SideBar: FC<SideBarProps>;