import React from 'react'; import Svg from 'react-native-svg'; import type { RNProps } from './types'; const AsForwarderTemp = ({ as, children, ...props }: any): React.ReactElement => { const As: any = as; return as ? {children} : {children}; }; AsForwarderTemp.displayName = '__AsForwarder__'; export const AsForwarder = AsForwarderTemp as React.ComponentType< RNProps & { as?: any } >;