1 | import type { FC, ReactNode } from 'react';
|
2 | import React from 'react';
|
3 | import { NativeProps } from '../../utils/native-props';
|
4 | export declare type DropdownItemProps = {
|
5 | key: string;
|
6 | title: ReactNode;
|
7 | active?: boolean;
|
8 | highlight?: boolean;
|
9 | forceRender?: boolean;
|
10 | destroyOnClose?: boolean;
|
11 | onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
12 | arrowIcon?: ReactNode;
|
13 | |
14 |
|
15 |
|
16 | arrow?: ReactNode;
|
17 | children?: ReactNode;
|
18 | } & NativeProps;
|
19 | declare const Item: FC<DropdownItemProps>;
|
20 | export default Item;
|
21 | declare type DropdownItemChildrenWrapProps = {
|
22 | onClick?: () => void;
|
23 | } & Pick<DropdownItemProps, 'active' | 'forceRender' | 'destroyOnClose' | 'children'>;
|
24 | export declare const ItemChildrenWrap: FC<DropdownItemChildrenWrapProps>;
|