mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
types(Tabs): add resize method type
This commit is contained in:
parent
a1831b8638
commit
3c526ec1a2
3
types/index.d.ts
vendored
3
types/index.d.ts
vendored
@ -15,6 +15,7 @@ import { Locale } from './locale';
|
|||||||
import { Notify } from './notify';
|
import { Notify } from './notify';
|
||||||
import { Swipe } from './swipe';
|
import { Swipe } from './swipe';
|
||||||
import { SwipeCell } from './swipe-cell';
|
import { SwipeCell } from './swipe-cell';
|
||||||
|
import { Tabs } from './tabs';
|
||||||
import { Toast } from './toast';
|
import { Toast } from './toast';
|
||||||
|
|
||||||
export const version: string;
|
export const version: string;
|
||||||
@ -81,7 +82,6 @@ export class SwitchCell extends VanComponent {}
|
|||||||
export class Tab extends VanComponent {}
|
export class Tab extends VanComponent {}
|
||||||
export class Tabbar extends VanComponent {}
|
export class Tabbar extends VanComponent {}
|
||||||
export class TabbarItem extends VanComponent {}
|
export class TabbarItem extends VanComponent {}
|
||||||
export class Tabs extends VanComponent {}
|
|
||||||
export class Tag extends VanComponent {}
|
export class Tag extends VanComponent {}
|
||||||
export class TreeSelect extends VanComponent {}
|
export class TreeSelect extends VanComponent {}
|
||||||
export class Uploader extends VanComponent {}
|
export class Uploader extends VanComponent {}
|
||||||
@ -102,5 +102,6 @@ export {
|
|||||||
Notify,
|
Notify,
|
||||||
Swipe,
|
Swipe,
|
||||||
SwipeCell,
|
SwipeCell,
|
||||||
|
Tabs,
|
||||||
Toast
|
Toast
|
||||||
};
|
};
|
||||||
|
5
types/tabs.d.ts
vendored
Normal file
5
types/tabs.d.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import { VanComponent } from './component';
|
||||||
|
|
||||||
|
export class Tabs extends VanComponent {
|
||||||
|
resize(): void;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user