2021-05-12 09:35:29 +00:00
|
|
|
const TabViewProps = [
|
|
|
|
{
|
|
|
|
name: "activeIndex",
|
|
|
|
type: "number",
|
|
|
|
default: "0",
|
|
|
|
description: "Index of the active tab."
|
2021-05-18 08:57:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "lazy",
|
|
|
|
type: "boolean",
|
|
|
|
default: "false",
|
|
|
|
description: "When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css."
|
2021-08-31 06:47:07 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "scrollable",
|
|
|
|
type: "boolean",
|
|
|
|
default: "false",
|
|
|
|
description: "When specified, enables horizontal scrolling."
|
2021-05-12 09:35:29 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
tabview: {
|
|
|
|
name: "TabView",
|
|
|
|
description: "TabView is a container component to group content with tabs.",
|
|
|
|
props: TabViewProps
|
|
|
|
}
|
|
|
|
};
|