@umituz/react-native-onboarding 1.0.8 → 1.0.9

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": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Generic onboarding flow for React Native apps with gradient backgrounds, animations, and customizable slides. SOLID, DRY, KISS principles applied.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -6,7 +6,7 @@
6
6
 
7
7
  import React, { useMemo } from "react";
8
8
  import { View, Text, StyleSheet, ScrollView } from "react-native";
9
- import { AtomicIcon } from "@umituz/react-native-design-system";
9
+ import { AtomicIcon } from "@umituz/react-native-design-system-atoms";
10
10
  import type { OnboardingSlide as OnboardingSlideType } from "../../domain/entities/OnboardingSlide";
11
11
 
12
12
  export interface OnboardingSlideProps {
@@ -125,7 +125,7 @@ export const OnboardingScreen: React.FC<OnboardingScreenProps> = ({
125
125
  <View style={styles.container}>
126
126
  <StatusBar barStyle="light-content" />
127
127
  <LinearGradient
128
- colors={currentSlide.gradient}
128
+ colors={currentSlide.gradient as [string, string, ...string[]]}
129
129
  start={{ x: 0, y: 0 }}
130
130
  end={{ x: 1, y: 1 }}
131
131
  style={StyleSheet.absoluteFill}