/** * 在有清除图标的输入框中,需要将 focus 的状态共享出来 * * showClear = focus && value */ declare const useFocus: (value: T, props: { onFocus?: (v: T) => void; onBlur?: (v: T) => void; }) => { focus: boolean; onFocus: () => void; onBlur: () => void; }; export default useFocus;