UNPKG

@kirz/react-native-toolkit

Version:

Toolkit to speed up React Native development

18 lines 820 B
/// <reference types="react" /> import { StyleProp, ViewProps as ViewPropsBase, ViewStyle as ViewStyleBase } from 'react-native'; import { BlurViewProps } from './BlurView'; import { GradientProps, InsetShadowProps } from '../types'; export type ViewStyle = ViewStyleBase & { backgroundGradient?: GradientProps | GradientProps[]; backgroundBlur?: BlurViewProps['blurType']; backgroundBlurProps?: BlurViewProps; borderGradient?: GradientProps | GradientProps[]; insetShadow?: InsetShadowProps; }; export type ViewProps = Omit<ViewPropsBase, 'style'> & { style?: StyleProp<ViewStyle>; skeleton?: boolean; skeletonStyle?: StyleProp<ViewStyle>; }; export declare function View({ style, children, skeleton, skeletonStyle, ...props }: ViewProps): JSX.Element; //# sourceMappingURL=View.d.ts.map