# react-rename

> Create a renamed duplicate for any Component

Latest version **1.0.0** (published 2018-09-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-rename
pnpm add react-rename
yarn add react-rename
bun add react-rename
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-09-06 |
| First published | 2018-07-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8.5.0 |
| Dependencies | 1 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Anton Korzunov |
| Maintainers | kashey |

## Links

- npm: https://www.npmjs.com/package/react-rename
- Homepage: https://github.com/theKashey/react-rename#readme
- Issues: https://github.com/theKashey/react-rename/issues
- npm.io page: https://npm.io/package/react-rename

## Dependencies (1)

- [function-double](https://npm.io/package/function-double.md) ^1.0.4

## Recent versions

- 1.0.0 (latest) — 2018-09-06
- 0.0.6 — 2018-09-06
- 0.0.5 — 2018-07-04
- 0.0.4 — 2018-07-04
- 0.0.3 — 2018-07-04

## README

# react-rename 
[![Build Status](https://secure.travis-ci.org/theKashey/react-rename.svg)](http://travis-ci.org/theKashey/react-rename)
[![version-badge](https://img.shields.io/npm/v/react-rename.svg?style=flat-square)](https://www.npmjs.com/package/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
```js
import {reactRename} from 'react-rename';

const Renamed = reactRename(existingComponent, 'Any 🔥 New 🙀 Name');
```

# Example

Rename `powerplug` value to something more readable. 
```js
import {Value} from 'react-powerplug';
import {reactRename} from 'react-rename';

const Counter = reactRename(Value,'Click Counter #100500')
```
 
# Licence
 MIT

---
_Source: https://npm.io/package/react-rename · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
