cdslibrary 1.0.9 → 1.0.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/components/CDSInput.jsx +1 -1
- package/components/CDSSwitch.jsx +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/components/CDSInput.jsx
CHANGED
|
@@ -3,7 +3,7 @@ import { useTheme } from "../context/CDSThemeContext";
|
|
|
3
3
|
import getSemanticTextStyles from "../tokens/CDSsemanticTextStyles";
|
|
4
4
|
import { useState } from "react";
|
|
5
5
|
|
|
6
|
-
export
|
|
6
|
+
export const CDSInput = ({ label, type, keyboard, placeholder }) => {
|
|
7
7
|
const { theme } = useTheme();
|
|
8
8
|
const textStyles = getSemanticTextStyles(theme);
|
|
9
9
|
const [text, setText] = useState("");
|
package/components/CDSSwitch.jsx
CHANGED
|
@@ -3,7 +3,7 @@ import { View, Text, Switch, StyleSheet } from "react-native";
|
|
|
3
3
|
import { useTheme } from "../context/CDSThemeContext";
|
|
4
4
|
import getSemanticTextStyles from "../tokens/CDSsemanticTextStyles";
|
|
5
5
|
|
|
6
|
-
export
|
|
6
|
+
export const CDSSwitch = ({ label }) => {
|
|
7
7
|
const { theme } = useTheme();
|
|
8
8
|
const textStyles = getSemanticTextStyles(theme);
|
|
9
9
|
const [isEnabled, setIsEnabled] = useState(false);
|
package/index.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
export {CDSBottomSheet} from './components/CDSBottomSheet';
|
|
11
11
|
export {CDSButton} from './components/CDSButton';
|
|
12
12
|
export {CDSCarousel} from './components/CDSCarousel';
|
|
13
|
-
export {CDSCarouselDots} from './components/CDSCarouselDots';
|
|
13
|
+
// export {CDSCarouselDots} from './components/CDSCarouselDots';
|
|
14
14
|
export {CDSInput} from './components/CDSInput';
|
|
15
15
|
export {CDSOnboarding} from './components/CDSOnboarding';
|
|
16
16
|
export {CDSSwitch} from './components/CDSSwitch';
|