29 lines
708 B
JavaScript
29 lines
708 B
JavaScript
const TabViewProps = [
|
|
{
|
|
name: "activeIndex",
|
|
type: "number",
|
|
default: "0",
|
|
description: "Index of the active tab."
|
|
},
|
|
{
|
|
name: "lazy",
|
|
type: "boolean",
|
|
default: "false",
|
|
description: "When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css."
|
|
},
|
|
{
|
|
name: "scrollable",
|
|
type: "boolean",
|
|
default: "false",
|
|
description: "When specified, enables horizontal scrolling."
|
|
}
|
|
];
|
|
|
|
module.exports = {
|
|
tabview: {
|
|
name: "TabView",
|
|
description: "TabView is a container component to group content with tabs.",
|
|
props: TabViewProps
|
|
}
|
|
};
|