react-rename
v1.0.0
Published
Create a renamed duplicate for any Component
Downloads
9
Readme
react-rename
Creates a double for React-Component, letting you to specify a new name by your choice.
Example - https://codesandbox.io/s/7j1zx4pxjx
Api
import {reactRename} from 'react-rename';
const Renamed = reactRename(existingComponent, 'Any 🔥 New 🙀 Name');
Example
Rename powerplug
value to something more readable.
import {Value} from 'react-powerplug';
import {reactRename} from 'react-rename';
const Counter = reactRename(Value,'Click Counter #100500')
Licence
MIT