antd
Version:
An enterprise-class UI design language and React components implementation
9 lines (8 loc) • 340 B
TypeScript
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;
}