UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

9 lines (8 loc) 340 B
import { ComponentClass } from 'react'; export interface CommonPickerMethods { focus: () => void; blur: () => void; } export interface PickerComponentClass<P = {}, S = unknown> extends ComponentClass<P, S> { new (...args: ConstructorParameters<ComponentClass<P, S>>): InstanceType<ComponentClass<P, S>> & CommonPickerMethods; }