mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
update typings
This commit is contained in:
committed by
Black Wayne
parent
4f9515494c
commit
1e95e51f9b
4
types/tabs.d.ts
vendored
4
types/tabs.d.ts
vendored
@@ -1,6 +1,7 @@
|
||||
import { ElementUIComponent } from './component'
|
||||
|
||||
export type TabType = 'card' | 'border-card'
|
||||
export type TabPosition = 'top' | 'right' | 'bottom' | 'left'
|
||||
|
||||
/** Divide data collections which are related yet belong to different types */
|
||||
export declare class ElTabs extends ElementUIComponent {
|
||||
@@ -18,4 +19,7 @@ export declare class ElTabs extends ElementUIComponent {
|
||||
|
||||
/** Name of the selected tab */
|
||||
value: string
|
||||
|
||||
/** Position of tabs */
|
||||
tabPosition: TabPosition
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user