UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

14 lines (13 loc) 481 B
import React from 'react'; import type { BaseInputProps } from '@rc-component/input/lib/interface'; export type AllowClear = BaseInputProps['allowClear']; interface UseAllowClearOptions { allowClear: AllowClear; clearIcon?: React.ReactNode; contextAllowClear?: AllowClear; contextClearIcon?: React.ReactNode; defaultAllowClear?: boolean; componentName: string; } export declare const useAllowClear: (options: UseAllowClearOptions) => AllowClear; export {};