37 lines
875 B
JavaScript
37 lines
875 B
JavaScript
|
|
import { buildProps } from "../../../utils/vue/props/runtime.mjs";
|
||
|
|
//#region ../../packages/components/tabs/src/tab-pane.ts
|
||
|
|
/**
|
||
|
|
* @deprecated Removed after 3.0.0, Use `TabPaneProps` instead.
|
||
|
|
*/
|
||
|
|
const tabPaneProps = buildProps({
|
||
|
|
/**
|
||
|
|
* @description title of the tab
|
||
|
|
*/
|
||
|
|
label: {
|
||
|
|
type: String,
|
||
|
|
default: ""
|
||
|
|
},
|
||
|
|
/**
|
||
|
|
* @description identifier corresponding to the name of Tabs, representing the alias of the tab-pane, the default is ordinal number of the tab-pane in the sequence, e.g. the first tab-pane is '0'
|
||
|
|
*/
|
||
|
|
name: { type: [String, Number] },
|
||
|
|
/**
|
||
|
|
* @description whether Tab is closable
|
||
|
|
*/
|
||
|
|
closable: {
|
||
|
|
type: Boolean,
|
||
|
|
default: void 0
|
||
|
|
},
|
||
|
|
/**
|
||
|
|
* @description whether Tab is disabled
|
||
|
|
*/
|
||
|
|
disabled: Boolean,
|
||
|
|
/**
|
||
|
|
* @description whether Tab is lazily rendered
|
||
|
|
*/
|
||
|
|
lazy: Boolean
|
||
|
|
});
|
||
|
|
//#endregion
|
||
|
|
export { tabPaneProps };
|
||
|
|
|
||
|
|
//# sourceMappingURL=tab-pane.mjs.map
|