ui-mathilde-web 0.2.4 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,6 @@ declare interface ButtonFormatProps {
15
15
  label?: string;
16
16
  disabled?: boolean;
17
17
  classes?: string;
18
- idButton?: string;
19
18
  type: string;
20
19
  onClick?: () => void;
21
20
  leftIcon?: React.ComponentType<{
@@ -275,6 +274,22 @@ declare interface QuickRange {
275
274
  };
276
275
  }
277
276
 
277
+ export declare const RadioButton: ({ label, options }: RadioButtonProps) => JSX_2.Element;
278
+
279
+ declare interface RadioButtonOption {
280
+ id: string;
281
+ label: string;
282
+ value: string;
283
+ checked?: boolean;
284
+ }
285
+
286
+ declare interface RadioButtonProps {
287
+ label?: string;
288
+ options: RadioButtonOption[];
289
+ disabled?: boolean;
290
+ onChange?: (value: string) => void;
291
+ }
292
+
278
293
  export declare const SelectForm: ForwardRefExoticComponent<SelectFormProps & RefAttributes<HTMLSelectElement>>;
279
294
 
280
295
  declare interface SelectFormProps extends React.SelectHTMLAttributes<HTMLSelectElement> {