@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 998 B
Source Map (JSON)
{"version":3,"file":"props.mjs","sources":["../../../components/linker/props.ts"],"sourcesContent":["import { booleanProp, buildProps, eventProp, iconProp } from '@vexip-ui/config'\r\n\r\nimport type { ExtractPropTypes, PropType } from 'vue'\r\nimport type { ConfigurableProps } from '@vexip-ui/config'\r\nimport type { LinkerType } from './symbol'\r\n\r\nexport const linkerProps = buildProps({\r\n to: String,\r\n type: String as PropType<LinkerType>,\r\n icon: iconProp,\r\n underline: booleanProp,\r\n disabled: booleanProp,\r\n target: String,\r\n onClick: eventProp<(event: MouseEvent) => void>(),\r\n})\r\n\r\nexport type LinkerProps = ExtractPropTypes<typeof linkerProps>\r\nexport type LinkerCProps = ConfigurableProps<LinkerProps, 'to'>\r\n"],"names":["linkerProps","buildProps","iconProp","booleanProp","eventProp"],"mappings":";AAMO,MAAMA,IAAcC,EAAW;AAAA,EACpC,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,MAAMC;AAAA,EACN,WAAWC;AAAA,EACX,UAAUA;AAAA,EACV,QAAQ;AAAA,EACR,SAASC,EAAuC;AAClD,CAAC;"}