UNPKG

element-plus

Version:

A Component Library for Vue 3

21 lines (18 loc) 586 B
import { buildProps } from '../../../utils/vue/props/runtime.mjs'; import { isBoolean } from '../../../utils/types.mjs'; import { CHANGE_EVENT } from '../../../constants/event.mjs'; const checkTagProps = buildProps({ checked: Boolean, disabled: Boolean, type: { type: String, values: ["primary", "success", "info", "warning", "danger"], default: "primary" } }); const checkTagEmits = { "update:checked": (value) => isBoolean(value), [CHANGE_EVENT]: (value) => isBoolean(value) }; export { checkTagEmits, checkTagProps }; //# sourceMappingURL=check-tag.mjs.map