All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.lib.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