package.es.hooks.useAllowClear.d.ts Maven / Gradle / Ivy
The newest version!
import type { DisplayValueType, Mode, RenderNode } from '../interface';
import React from 'react';
export declare const useAllowClear: (prefixCls: string, onClearMouseDown: React.MouseEventHandler, displayValues: DisplayValueType[], allowClear?: boolean | {
clearIcon?: RenderNode;
}, clearIcon?: RenderNode, disabled?: boolean, mergedSearchValue?: string, mode?: Mode) => {
allowClear: boolean;
clearIcon: React.JSX.Element;
};
© 2015 - 2024 Weber Informatics LLC | Privacy Policy