chore: udpate type
parent
ca2bfbd3ef
commit
f38979f5ba
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "ant-design-vue",
|
"name": "ant-design-vue",
|
||||||
"version": "2.0.0-beta.8",
|
"version": "2.0.0-beta.9",
|
||||||
"title": "Ant Design Vue",
|
"title": "Ant Design Vue",
|
||||||
"description": "An enterprise-class UI design language and Vue-based implementation",
|
"description": "An enterprise-class UI design language and Vue-based implementation",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
||||||
|
|
||||||
import { AntdComponent, AntdProps } from '../component';
|
import { AntdComponent, AntdProps } from '../component';
|
||||||
|
import { VNodeChild } from 'vue';
|
||||||
|
|
||||||
export declare class Option extends AntdComponent {
|
export declare class Option extends AntdComponent {
|
||||||
$props: AntdProps & {
|
$props: AntdProps & {
|
||||||
|
@ -36,5 +37,6 @@ export declare class Option extends AntdComponent {
|
||||||
* @type string
|
* @type string
|
||||||
*/
|
*/
|
||||||
class?: string;
|
class?: string;
|
||||||
|
label?: VNodeChild | JSX.Element;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -246,11 +246,11 @@ export declare class Select extends AntdComponent {
|
||||||
/**
|
/**
|
||||||
* remove focus
|
* remove focus
|
||||||
*/
|
*/
|
||||||
onBlur: (e?: Event) => void;
|
onBlur?: (e?: Event) => void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get focus
|
* get focus
|
||||||
*/
|
*/
|
||||||
onFocus: (e?: Event) => void;
|
onFocus?: (e?: Event) => void;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue