import type { ViewProps } from 'react-native'; import type { StyledProps } from '../../../theme/types'; import type { SafeAreaProps, PlatformProps, ResponsiveValue, ColorType, CustomProps } from '../../types'; import type { ITextProps } from './../Text/types'; export interface ILinearGradientProps { linearGradient?: { colors: Array; start?: Array; end?: Array; locations?: Array; }; } export interface InterfaceBoxProps extends ViewProps, SafeAreaProps, PlatformProps : T>, Omit { /** * Renders components as Box children. Accepts a JSX.Element or an array of JSX.Element. */ children?: JSX.Element | JSX.Element[] | string | any; /** * For providing props to Text inside Box */ _text?: Partial; bg?: ResponsiveValue; background?: ResponsiveValue; bgColor?: ResponsiveValue; backgroundColor?: ResponsiveValue; } export declare type IBoxProps = InterfaceBoxProps & CustomProps<'Box'>;