legion-vue-core
Version:
30 lines (29 loc) • 592 B
TypeScript
export interface TabsProps {
/**
* Sets index active of the component
*/
active?: number;
/**
* Sets the id of the component
*/
id?: string;
/**
* Sets item list data of the component
*/
items: {
icon?: any;
label: any;
}[];
/**
* Sets the callback onClick of the component
*/
onClick?: (index: number) => void;
/**
* Sets the mode of the component
*/
mode?: 'vertical' | 'horizontal';
/**
* Sets the border position of the component
*/
borderReverse?: boolean;
}