@vuesax-alpha/nightly
Version:
A Component Library for Vue 3
19 lines (16 loc) • 514 B
JavaScript
import '../../../hooks/index.mjs';
import '../../../utils/index.mjs';
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
import { useColorProp } from '../../../hooks/use-common-props/index.mjs';
const cardType = [1, "1", 2, "2", 3, "3", 4, "4", 5, "5"];
const cardProps = buildProps({
color: useColorProp,
type: {
type: [String, Number],
values: cardType,
validator: (val) => cardType.includes(val),
default: 1
}
});
export { cardProps };
//# sourceMappingURL=card2.mjs.map