react-native-fast-image
Version:
FastImage, performant React Native image component.
9 lines (8 loc) • 476 B
TypeScript
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 {};