'use strict'; import React, { Ref } from 'react'; import { SvgFromXml } from 'react-native-svg'; import { MathViewInjectedProps, MathViewProps, styles } from '../common'; import { ErrorComponent } from '../Error'; import { mathViewRender } from '../hooks'; const FallbackMathView = mathViewRender((props: MathViewInjectedProps, ref: Ref) => { const { size, svg, ...passProps } = props; return ( ) }); FallbackMathView.defaultProps = { color: 'black', resizeMode: 'cover', renderError: ErrorComponent } as Partial; export default FallbackMathView;