UNPKG

antd-mobile

Version:
20 lines (19 loc) 735 B
import React, { FC } from 'react'; import { NativeProps } from '../../utils/native-props'; export declare type DropdownItemProps = { key: string; title: React.ReactNode; active?: boolean; highlight?: boolean; forceRender?: boolean; destroyOnClose?: boolean; onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void; arrow?: React.ReactNode; children?: React.ReactNode; } & NativeProps; declare const Item: FC<DropdownItemProps>; export default Item; declare type DropdownItemChildrenWrapProps = { onClick?: () => void; } & Pick<DropdownItemProps, 'active' | 'forceRender' | 'destroyOnClose' | 'children'>; export declare const ItemChildrenWrap: FC<DropdownItemChildrenWrapProps>;