File tree Expand file tree Collapse file tree 7 files changed +11
-11
lines changed
Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ export interface CheckboxProps extends TouchableProps {
4242 /**
4343 * Label for the Checkbox.
4444 */
45- label : string ;
45+ label : string | null ;
4646 /**
4747 * Description for the Checkbox.
4848 */
49- description : string ;
49+ description : string | null ;
5050 /**
5151 * Checkbox State
5252 * @default false
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ interface DividerProps {
99 /**
1010 * Label name
1111 */
12- label : string ;
12+ label : string | null ;
1313 /**
1414 * The orientation of the divider
1515 * @default horizontal
Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ export interface MeterProps {
6565 /**
6666 * Label for the Meter
6767 */
68- label : string ;
68+ label : string | null ;
6969 /**
7070 * Hint for the Meter
7171 */
72- hint : string ;
72+ hint : string | null ;
7373}
7474
7575const RNMeter : React . FC < Partial < MeterProps > > = forwardRef <
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export interface ProgressProps extends BoxProps {
4242 /**
4343 * Label for the Meter
4444 */
45- label : string ;
45+ label : string | null ;
4646 /**
4747 * Hint for the Meter
4848 */
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ export interface RadioProps extends TouchableProps {
1919 /**
2020 * Radio Label
2121 */
22- label : string ;
22+ label : string | null ;
2323 /**
2424 * Radio Description
2525 */
26- description : string ;
26+ description : string | null ;
2727 /**
2828 * Radio State
2929 */
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import { SelectSizes } from "./Select";
1515
1616export interface SelectOptionProps {
1717 disabled ?: boolean ;
18- label : string ;
18+ label : string | null ;
1919 description ?: string ;
2020 value : string ;
2121 size : SelectSizes ;
Original file line number Diff line number Diff line change @@ -79,11 +79,11 @@ export interface SwitchProps extends BoxProps {
7979 /**
8080 * The Label of the switch component.
8181 */
82- label : string ;
82+ label : string | null ;
8383 /**
8484 * The Description of the switch component.
8585 */
86- description : string ;
86+ description : string | null ;
8787}
8888
8989const SPRING_CONFIG = {
You can’t perform that action at this time.
0 commit comments