import type { ImageBackgroundProps } from 'react-native' import { ImageBackground as RNImageBackground } from 'react-native' import { copyComponentProperties } from '../utils' import { useAccentColor } from './useAccentColor' import { useStyle } from './useStyle' export const ImageBackground = copyComponentProperties(RNImageBackground, (props: ImageBackgroundProps) => { const style = useStyle(props.className, props) const imageStyle = useStyle(props.imageClassName, props) const tintColor = useAccentColor(props.tintColorClassName, props) return ( ) }) export default ImageBackground