@mattilsynet/designsystem-svelte
Version:
Design system for Mattilsynet
20 lines (19 loc) • 511 B
TypeScript
import type { ErrorDetail } from '../../../ts';
declare const RadioGroup: import("svelte").Component<{
value?: string;
name: string;
label: string;
helpText?: string;
error?: ErrorDetail;
class?: string;
options?: Array<{
value: string;
text: string;
}>;
isRequired?: boolean;
textOptional?: string;
showOptionalText?: boolean;
hiddenErrorText?: string;
}, {}, "value">;
type RadioGroup = ReturnType<typeof RadioGroup>;
export default RadioGroup;