@protonradio/proton-ui 0.1.19 → 0.1.21

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.
@@ -23,11 +23,11 @@ declare interface ButtonGroupProps {
23
23
  * The value of the currently selected option in the ButtonGroup. Providing
24
24
  * this prop causes the component to become controlled.
25
25
  */
26
- value: string;
26
+ value?: string;
27
27
  /**
28
28
  * The initially selected value of the ButtonGroup.
29
29
  */
30
- defaultValue: string;
30
+ defaultValue?: string;
31
31
  /**
32
32
  * Called when the ButtonGroup's selected value changes.
33
33
  */
@@ -51,7 +51,7 @@ declare interface SwitchProps {
51
51
  /**
52
52
  * Whether the Switch is in the 'on' state (uncontrolled).
53
53
  */
54
- defaultOn: boolean;
54
+ defaultOn?: boolean;
55
55
  /**
56
56
  * Whether the Switch is in the 'on' state. Providing this prop causes the
57
57
  * component to become controlled.
@@ -60,7 +60,7 @@ declare interface SwitchProps {
60
60
  /**
61
61
  * Should the input be non-interactive?
62
62
  */
63
- isDisabled: boolean;
63
+ isDisabled?: boolean;
64
64
  /**
65
65
  * Called when the Switch's on state changes.
66
66
  */