vuestic-ui
Version:
Vue 3 UI Framework
1 lines • 763 B
Source Map (JSON)
{"version":3,"file":"useLoading.mjs","sources":["../../../../src/composables/useLoading.ts"],"sourcesContent":["export type LoadingProps = {\n loading: boolean\n}\n\n/**\n * You could add these props to any component by destructuring them inside props option.\n * @example\n * props: { ...useLoadingProps, componentsOwnProp, etc. }\n * It's better to add props at the beginning, to make sure that Component own props will be used instead in case of collision\n */\nexport const useLoadingProps = {\n loading: { type: Boolean, default: false },\n}\n\n// export const useLoading = () => {\n// const hasLoading = true\n\n// return {\n// hasLoading,\n// }\n// }\n"],"names":[],"mappings":"AAUO,MAAM,kBAAkB;AAAA,EAC7B,SAAS,EAAE,MAAM,SAAS,SAAS,MAAM;AAC3C;"}