import { defineComponent, type PropType } from 'vue'; import BCMSIcon from '../icon'; import { DefaultComponentProps } from '../_default'; const component = defineComponent({ props: { ...DefaultComponentProps, text: { type: String, required: true, }, description: { type: String, required: false, }, theme: { type: String as PropType<'default' | 'danger'>, required: false, default: 'default', }, icon: String, }, emits: { click: () => { return true; }, }, setup(props, ctx) { return () => { return (
); }; }, }); export default component;