import React from 'react' import { useWindowDimensions, ViewStyle } from 'react-native' import LinearGradient from 'react-native-linear-gradient' import colorStyles from '@app/styles/colors' export type GradientBackgroundPropsBase = { height?: number | string width?: number | string position?: 'relative' | 'absolute' style?: ViewStyle } export type GradientBackgroundProps = GradientBackgroundPropsBase & { colors?: string[] locations?: number[] } const GradientBackground: React.FC = ({ height, width, position, style, colors, locations, children, }) => { const layout = useWindowDimensions() return ( {children} ) } export default GradientBackground