@umituz/react-native-onboarding 2.6.11 → 2.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-onboarding",
3
- "version": "2.6.11",
3
+ "version": "2.7.0",
4
4
  "description": "Advanced onboarding flow for React Native apps with personalization questions, theme-aware colors, animations, and customizable slides. SOLID, DRY, KISS principles applied.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -62,7 +62,6 @@ export const QuestionRenderer: React.FC<QuestionRendererProps> = ({
62
62
  );
63
63
  case "slider":
64
64
  if (!SliderComponent) {
65
- // Show helpful error message if SliderComponent is not provided
66
65
  return (
67
66
  <View style={{ padding: 20, alignItems: "center" }}>
68
67
  <Text style={{ color: "#FFFFFF", textAlign: "center" }}>
@@ -70,7 +69,7 @@ export const QuestionRenderer: React.FC<QuestionRendererProps> = ({
70
69
  to OnboardingScreen.
71
70
  </Text>
72
71
  <Text style={{ color: "#FFFFFF", textAlign: "center", marginTop: 8, fontSize: 12 }}>
73
- Example: SliderComponent={Slider} where Slider is imported from
72
+ Example: SliderComponent={"Slider"} where {"Slider"} is imported from
74
73
  "@react-native-community/slider"
75
74
  </Text>
76
75
  </View>