UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

21 lines (20 loc) 392 B
const tabsProps = { modelValue: [String, Number], type: { type: String, default: "line" }, color: String, onlyTab: Boolean, closable: Boolean }; const isValidValue = (value) => ["string", "number"].includes(typeof value); const tabsEmits = { "update:modelValue": isValidValue, change: isValidValue, "tab-remove": isValidValue }; export { tabsEmits, tabsProps };