bootstrap-vue-next
Version:
Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development
1 lines • 574 B
Source Map (JSON)
{"version":3,"file":"useAlignment-DMST4-tc.mjs","names":[],"sources":["../src/composables/useAlignment.ts"],"sourcesContent":["import {computed, type MaybeRefOrGetter, toValue} from 'vue'\nimport type {AlignmentJustifyContent} from '../types/Alignment'\n\nexport const useAlignment = (align: MaybeRefOrGetter<AlignmentJustifyContent | undefined>) =>\n computed(() => {\n const value = toValue(align)\n return !value ? '' : `justify-content-${value}`\n })\n"],"mappings":";;AAGA,IAAa,gBAAgB,UAC3B,eAAe;CACb,MAAM,QAAQ,QAAQ,MAAM;AAC5B,QAAO,CAAC,QAAQ,KAAK,mBAAmB;EACxC"}