bootstrap-vue-next
Version:
BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.
8 lines (7 loc) • 347 B
text/typescript
export type CheckboxValue = readonly unknown[] | ReadonlySet<unknown> | string | boolean | Readonly<Record<string, unknown>> | number | null;
export type CheckboxOption = {
text: string;
value: CheckboxValue;
disabled?: boolean;
};
export type CheckboxOptionRaw = string | number | (Partial<CheckboxOption> & Record<string, unknown>);