lib/index.js
function(path, state) {
        if (t.isStringLiteral(path.node.source, { value: 'react-dom' })) {
          path.node.source = t.StringLiteral('react-native');
        }
      }
function(path, state) {
        if (t.isStringLiteral(path.node.source, { value: 'react-dom' })) {
          path.node.source = t.StringLiteral('react-native');
        }
      }
function ( path , state ) { if ( t . isStringLiteral ( path . node . source , { value : 'react-dom' } ) ) { path . node . source = t . StringLiteral ( 'react-native' ) ; } }
import ReactDOM from 'react-dom' => import ReactDOm from 'react-native'
import ReactDOM from react - dom = > import ReactDOm from react - native