UNPKG

react-native-fast-image

Version:
9 lines (8 loc) • 476 B
import type { ViewProps } from 'react-native'; import type { FastImageBackgroundProps, FastImageProps } from './index'; type SplitProps = Omit<FastImageBackgroundProps, 'style' | 'imageStyle' | 'imageRef' | 'imageProps' | 'children'>; type ContainerProps = { -readonly [K in keyof ViewProps]: ViewProps[K]; }; export declare function splitBackgroundProps(props: SplitProps, imageProps: FastImageBackgroundProps['imageProps']): [FastImageProps, ContainerProps]; export {};