mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 09:21:22 +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;
|
|
}
|