@etsoo/materialui 1.1.42 → 1.1.43

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.
@@ -28,6 +28,6 @@ export function SwitchField(props) {
28
28
  }
29
29
  } })),
30
30
  React.createElement(Box, { paddingLeft: 2, paddingY: "7px", position: outlined ? "absolute" : undefined },
31
- React.createElement(SwitchAnt, { activeColor: activeColor, name: name, startLabel: startLabel !== null && startLabel !== void 0 ? startLabel : "NO", endLabel: endLabel !== null && endLabel !== void 0 ? endLabel : "YES", value: value, checked: checked }))),
31
+ React.createElement(SwitchAnt, { activeColor: activeColor, name: name, startLabel: startLabel, endLabel: endLabel, value: value, checked: checked }))),
32
32
  helperText && React.createElement(FormHelperText, null, helperText)));
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.1.42",
3
+ "version": "1.1.43",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -120,8 +120,8 @@ export function SwitchField(props: SwitchFieldProps) {
120
120
  <SwitchAnt
121
121
  activeColor={activeColor}
122
122
  name={name}
123
- startLabel={startLabel ?? "NO"}
124
- endLabel={endLabel ?? "YES"}
123
+ startLabel={startLabel}
124
+ endLabel={endLabel}
125
125
  value={value}
126
126
  checked={checked}
127
127
  />