primitives-codemods

1.0.1 • Public • Published

primitives-codemods

Turn this:

import { Text, View, Platform, ScrollView } from 'react-native';

into this:

import { ScrollView } from 'react-native';
import { Text, Platform, View } from 'react-primitives';
jscodeshift input-file.js -t path-to-primitives-codemods/src/index.js

Readme

Keywords

none

Package Sidebar

Install

npm i primitives-codemods

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • jongold