UNPKG

bootstrap-vue-3

Version:

Early (but lovely) implementation of Vue 3, Bootstrap 5 and Typescript

9 lines (6 loc) 215 B
import getID from '../utils/getID' import {computed, ComputedRef} from 'vue' function useId(id?: string, suffix?: string): ComputedRef<string> { return computed(() => id || getID(suffix)) } export default useId