mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-14 16:19:15 +08:00
12 lines
340 B
TypeScript
12 lines
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;
|
|
}
|