@tecsinapse/react-core 1.22.6 → 1.22.7
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.
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { SwitchProps } from '../../atoms/Switch';
|
|
2
2
|
export declare type LabelPositionOptions = 'left' | 'right';
|
|
3
|
-
export
|
|
4
|
-
label: string;
|
|
5
|
-
labelPosition?: LabelPositionOptions;
|
|
3
|
+
export declare type LabeledSwitchProps = {
|
|
6
4
|
pressableLabel?: boolean;
|
|
7
|
-
|
|
5
|
+
leftLabel?: string;
|
|
6
|
+
rightLabel?: string;
|
|
7
|
+
} & ({
|
|
8
|
+
leftLabel: string;
|
|
9
|
+
} | {
|
|
10
|
+
rightLabel: string;
|
|
11
|
+
}) & SwitchProps;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { SwitchProps } from '../../atoms/Switch';
|
|
2
2
|
export declare type LabelPositionOptions = 'left' | 'right';
|
|
3
|
-
export
|
|
4
|
-
label: string;
|
|
5
|
-
labelPosition?: LabelPositionOptions;
|
|
3
|
+
export declare type LabeledSwitchProps = {
|
|
6
4
|
pressableLabel?: boolean;
|
|
7
|
-
|
|
5
|
+
leftLabel?: string;
|
|
6
|
+
rightLabel?: string;
|
|
7
|
+
} & ({
|
|
8
|
+
leftLabel: string;
|
|
9
|
+
} | {
|
|
10
|
+
rightLabel: string;
|
|
11
|
+
}) & SwitchProps;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/react-core",
|
|
3
3
|
"description": "TecSinapse hybrid React components",
|
|
4
|
-
"version": "1.22.
|
|
4
|
+
"version": "1.22.7",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/esm/index.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"react-native": "^0.64.4",
|
|
40
40
|
"react-native-vector-icons": "^8.1.0 || ^9.0.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "e1df77c53be6d96608ebb01b2e55de4f08e20b6a"
|
|
43
43
|
}
|