element-plus
Version:
A Component Library for Vue 3
1 lines • 814 B
Source Map (JSON)
{"version":3,"file":"config-provider.mjs","sources":["../../../../../../packages/components/config-provider/src/config-provider.ts"],"sourcesContent":["import { useLocaleProps } from '@element-plus/hooks'\nimport { buildProp, definePropType, mutable } from '@element-plus/utils/props'\nimport type { ButtonConfigContext } from '@element-plus/components/button'\n\nexport const configProviderProps = {\n ...useLocaleProps,\n // Add more configs\n button: buildProp({\n type: definePropType<ButtonConfigContext>(Object),\n default: () => {\n return mutable({\n autoInsertSpace: true,\n } as const)\n },\n }),\n}\n"],"names":[],"mappings":";;;;MAIa,sBAAsB;AAAA,KAC9B;AAAA,EAEH,QAAQ,UAAU;AAAA,IAChB,MAAM,eAAoC;AAAA,IAC1C,SAAS,MAAM;AACb,aAAO,QAAQ;AAAA,QACb,iBAAiB;AAAA;AAAA;AAAA;AAAA;;;;"}