react-native-svg-transformer
react-native-svg-transformer copied to clipboard
Import SVG files in your React Native project the same way that you would in a Web application.
## Step for reproduce deps: ```json "react-native": "^0.71.0", "react-native-svg": "^13.7.0", "react-native-svg-transformer": "^1.0.0", ``` svg icon: ```svg ``` .svgrrc: ```json { "replaceAttrValues": { "#000": "{props.fill}" } } ``` usage: ```ts import...
This updates `eslint-config-standard` from major version 15 to 17 (which now requires a new peer dependency `eslint-plugin-n`, as described in the [project's usage instructions](https://github.com/standard/eslint-config-standard#usage)). Also included are a few minor...
If svg has more than two colors and I do not specify color, then my svg is painted blue -_- Render: How should it look: ### metro.config.js ```js const {...
I have some SVGs that include base64 code like the following file:  When I render that it shows: FYI: It's working perfect with other SVG files with no base64...
Hi there nice to meet you thank you for making this package. We have a some issue so i hope to share this problem and wish to solve this issue...
Hi , i'm working with the react-native 0.74.1 and i've followed de documentation to install this package:  How can i fix it? Thanks
This PR fixes an issue where `plugins` parameter is not forwarded properly to the original transformer when svg-transformer is configured. See https://github.com/facebook/react-native/blob/main/packages/react-native-babel-transformer/src/index.js#L184 for the full list of attributes of the...
Issue Description: Encountered an error: TypeError: Cannot read properties of undefined (reading '0') Solution: ``` // Install the necessary plugins via yarn: yarn add -D @svgr/plugin-svgo yarn add -D @svgr/plugin-jsx...
配置postcss-transformer.js和 react-native-svg-transformer 会冲突么。具体怎么配置
I recently upgraded my React Native project from version 0.67.5 to 0.74.0. Since the upgrade, I have been encountering an error while bundling SVGs on both Android and iOS. Error:...