import { buildProps, isBoolean } from '@element-plus/utils' import { CHANGE_EVENT } from '@element-plus/constants' import type CheckTag from './check-tag.vue' import type { ExtractPropTypes } from 'vue' export const checkTagProps = buildProps({ checked: { type: Boolean, default: false, }, } as const) export type CheckTagProps = ExtractPropTypes export const checkTagEmits = { 'update:checked': (value: boolean) => isBoolean(value), [CHANGE_EVENT]: (value: boolean) => isBoolean(value), } export type CheckTagEmits = typeof checkTagEmits export type CheckTagInstance = InstanceType