@protonradio/proton-ui 0.1.20 → 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.
@@ -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
  */