'use strict'; import type { PatternProps } from 'react-native-svg'; // TODO: Fix me // @ts-ignore RNSVG doesn't export types for web, see https://github.com/software-mansion/react-native-svg/pull/2801 import type { SvgStyleBuilderConfig } from './common'; // TODO: Fix me // @ts-ignore RNSVG doesn't export types for web, see https://github.com/software-mansion/react-native-svg/pull/2801 export const SVG_PATTERN_PROPERTIES_CONFIG: SvgStyleBuilderConfig = { x: true, y: true, width: true, height: true, patternUnits: { process: (patternUnits) => (patternUnits === 'userSpaceOnUse' ? 1 : 0), }, patternContentUnits: { process: (patternContentUnits) => patternContentUnits === 'userSpaceOnUse' ? 1 : 0, }, };