bootstrap-vue-next
Version:
BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.
1 lines • 592 B
Source Map (JSON)
{"version":3,"file":"useAlignment-Cw-9AVid.mjs","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"],"names":[],"mappings":";AAGO,MAAM,eAAe,CAAC,UAC3B,SAAS,MAAM;AACP,QAAA,QAAQ,QAAQ,KAAK;AAC3B,SAAO,CAAC,QAAQ,KAAK,mBAAmB,KAAK;AAC/C,CAAC;"}