react-rename

Create a renamed duplicate for any Component

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-rename
1.0.06 years ago6 years agoMinified + gzip package size for react-rename in KB

Readme

react-rename
Build Status version-badge
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