feature: implement tab page props and remove trailing comma
This commit is contained in:
parent
c44ddb6159
commit
ba863b2c91
|
@ -5,7 +5,7 @@
|
|||
"printWidth": 140,
|
||||
"semi": true,
|
||||
"useTabs": false,
|
||||
"trailingComma": "es5",
|
||||
"trailingComma": "none",
|
||||
"singleQuote": true,
|
||||
"tabWidth": 4,
|
||||
"endOfLine": "auto",
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
import { ExtractPropTypes } from 'vue';
|
||||
|
||||
export const tabPageProps = {
|
||||
tabWidth: { type: Number, default: -1 },
|
||||
id: { type: String, default: '' },
|
||||
customTitleClass: { type: String, default: '' },
|
||||
titleOverflow: { type: Boolean, default: false },
|
||||
title: { type: String, default: '' },
|
||||
selected: { type: Boolean, default: false },
|
||||
disabled: { type: Boolean, default: false },
|
||||
removeable: { type: Boolean, default: false }
|
||||
};
|
||||
export type TabPageProps = ExtractPropTypes<typeof tabPageProps>;
|
Loading…
Reference in New Issue