React-native-svg: <Text> from react-native-svg and from react-native

Created on 22 Nov 2016  路  2Comments  路  Source: react-native-svg/react-native-svg

I used from react-native, but i need text and from react-native-svg. But conflict arises when they are added through imports. Whether it is possible to rename the from react-native-svg in or ?

Most helpful comment

import { Text as SvgText } from 'react-native-svg';

All 2 comments

import { Text as SvgText } from 'react-native-svg';

Thanks @gorangajic for answering this.
I'm closing this now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

a-c-sreedhar-reddy picture a-c-sreedhar-reddy  路  3Comments

SyedShahbazHussain picture SyedShahbazHussain  路  3Comments

SteveIb picture SteveIb  路  3Comments

dquilter picture dquilter  路  3Comments

r0st1kuzh picture r0st1kuzh  路  3Comments