## Summary I was trying to use the babel-plugin-transform-react-native-svg separately in babel without svgr and hit an issue where it wouldn't update the import declaration. I managed to pin it down to the new check added in #894. As per [the babel spec](https://github.com/babel/babel/blob/main/packages/babel-parser/ast/spec.md#importdeclaration) for imports, `importKind` will be `null | 'type' | 'typeof' | 'value'`. When using babel to parse an existing import, its being parsed as `'value'`... I think its `null` when working with svgr because [when we add the import declaration to the AST](https://github.com/gregberge/svgr/blob/main/packages/babel-plugin-transform-svg-component/src/variables.ts#L133-L135), we don't specify the import kind parameter when calling `getOrCreateImport`. ## Test plan Add a new test to `index.test.ts` for `babel-plugin-transform-react-native-svg`: ``` $ pnpm run test babel-plugin-transform-react-native-svg ``` Before my changes: <img width="1184" alt="image" src="https://github.com/gregberge/svgr/assets/10435324/62b7ce08-59a4-4a66-a1f0-e84d9b3372ca"> After my changes: <img width="840" alt="image" src="https://github.com/gregberge/svgr/assets/10435324/b94a121f-7c91-4170-b31a-22ae953748ce">
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by yashsriv and has received 2 comments.