import React from 'react'; import Svg, {Defs, Rect} from 'react-native-svg'; const BarBackgroundPattern = (props: any) => { const { barBackgroundPatternFromItem, barBackgroundPatternFromProps, patternIdFromItem, patternIdFromProps, } = props; return ( {barBackgroundPatternFromItem ? barBackgroundPatternFromItem() : barBackgroundPatternFromProps()} ); }; export default BarBackgroundPattern;