Removes an import for React in tsx file
ragraff opened this issue · 1 comments
ragraff commented
Can there be some way of ignoring import React from 'react';
at the top of a tsx
file?
simonhaenisch commented
Please use issue search first: https://github.com/simonhaenisch/prettier-plugin-organize-imports/issues?q=is%3Aissue+is%3Aclosed+react
Basically you need to set up the jsx factory properly in your tsconfig.