bootstrap-vue-next
Version:
Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development
8 lines (7 loc) • 309 B
TypeScript
export type RadioValue = boolean | string | readonly unknown[] | Readonly<Record<string, unknown>> | number | null;
export type RadioOption = {
text: string;
value: RadioValue;
disabled?: boolean;
};
export type RadioOptionRaw = string | number | (Partial<RadioOption> & Record<string, unknown>);