@protonradio/proton-ui 0.1.9 → 0.1.10
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.
- package/dist/proton-ui.es.d.ts +4 -0
- package/dist/proton-ui.es.js +230 -211
- package/dist/proton-ui.es.js.map +1 -1
- package/dist/proton-ui.umd.js +6 -6
- package/dist/proton-ui.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/proton-ui.es.d.ts
CHANGED
|
@@ -27,6 +27,10 @@ declare interface SwitchProps {
|
|
|
27
27
|
* Called when the Switch's on state changes.
|
|
28
28
|
*/
|
|
29
29
|
onChange?: (isOn: boolean) => void;
|
|
30
|
+
/**
|
|
31
|
+
* The string used for the input label. Forwarded to `aria-label`.
|
|
32
|
+
*/
|
|
33
|
+
label?: string;
|
|
30
34
|
/**
|
|
31
35
|
* The text or component to be rendered as the Switch's label.
|
|
32
36
|
*/
|