vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 947 B
Source Map (JSON)
{"version":3,"file":"props.cjs","sources":["../../../components/linker/props.ts"],"sourcesContent":["import { booleanProp, buildProps, eventProp, iconProp } from '@vexip-ui/config'\n\nimport type { ExtractPropTypes, PropType } from 'vue'\nimport type { ConfigurableProps } from '@vexip-ui/config'\nimport type { LinkerType } from './symbol'\n\nexport const linkerProps = buildProps({\n to: String,\n type: String as PropType<LinkerType>,\n icon: iconProp,\n underline: booleanProp,\n disabled: booleanProp,\n target: String,\n onClick: eventProp<(event: MouseEvent) => void>(),\n})\n\nexport type LinkerProps = ExtractPropTypes<typeof linkerProps>\nexport type LinkerCProps = ConfigurableProps<LinkerProps, 'to'>\n"],"names":["linkerProps","buildProps","iconProp","booleanProp","eventProp"],"mappings":"oHAMaA,EAAcC,EAAAA,WAAW,CACpC,GAAI,OACJ,KAAM,OACN,KAAMC,EAAA,SACN,UAAWC,EAAA,YACX,SAAUA,EAAA,YACV,OAAQ,OACR,QAASC,EAAuC,UAAA,CAClD,CAAC"}