# libreactjsnumeroporextenso

> numero por extenso

Latest version **0.1.1** (published 2020-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install libreactjsnumeroporextenso
pnpm add libreactjsnumeroporextenso
yarn add libreactjsnumeroporextenso
bun add libreactjsnumeroporextenso
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2020-10-09 |
| First published | 2020-10-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 9 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Elson |
| Maintainers | elsonss1988 |

## Links

- npm: https://www.npmjs.com/package/libreactjsnumeroporextenso
- Repository: https://github.com/elsonss1988/libReactJSnumberHowWrite
- Homepage: https://github.com/elsonss1988/libReactJSnumberHowWrite#readme
- Issues: https://github.com/elsonss1988/libReactJSnumberHowWrite/issues
- npm.io page: https://npm.io/package/libreactjsnumeroporextenso

## Dependencies (9)

- [react](https://npm.io/package/react.md) ^16.13.1
- [react-dom](https://npm.io/package/react-dom.md) ^16.13.1
- [@babel/cli](https://npm.io/package/@babel/cli.md) ^7.11.6
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.11.6
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.11.5
- [numero-por-extenso](https://npm.io/package/numero-por-extenso.md) ^1.0.8
- [@babel/preset-react](https://npm.io/package/@babel/preset-react.md) ^7.10.4
- [react-input-por-extenso](https://npm.io/package/react-input-por-extenso.md) ^0.1.1

## Recent versions

- 0.1.1 (latest) — 2020-10-09
- 0.1.0 — 2020-10-09

## README

# Biblioteca Numero por Extenso

Componente React que retorna número por extenso

- HTML
= JS
- React



[![npm](https://img.shields.io/npm/v/libreactjsnumeroporextenso)](https://www.npmjs.com/package/libreactjsnumeroporextenso) ![NPM](https://img.shields.io/npm/l/libreactjsnumeroporextenso)

o
## Como instalar

Abaixo as formas de como instalar essa biblioteca utilizando o npm ou yarn:

```
npm install libreactjsnumeroporextenso
# ou
yarn add libreactjsnumeroporextenso
```

## Como usar

Uma forma básica de como utilizar o componente:

```jsx
import React,{useState} from "react";
import ReactDOM from "react-dom";
import ReactInputPorExtenso from "../lib";

const App=()=>{
    const [numero,setNumero]=useState("");
    return (
        <>
        <ReactInputPorExtenso 
        tipoExtenso="monetario"
        onChange={numeroExtenso=>setNumero(numeroExtenso)}
        />
        <p>
            <strong>Numero por extenso</strong>: {numero}
        </p>
        </>

    )
}

ReactDOM.render(<App />, document.getElementById("root"));
```

## Propriedades

Esse componente é uma abstração de um componente input do tipo numérico,
todas as propriedades de um input estão disponíveis.

| Propriedade | Valor inicial | Tipo   | Descrição                     |
| ----------- | ------------- | ------ | ----------------------------- |
| tipoExtenso | normal        | string | Formato de extensão do número |

<em>

Biblioteca desenvolvida durante [aula prática](https://www.youtube.com/watch?v=5zgrL9XGASM) da [Digital Innovation One](https://digitalinnovation.one/)

</em>

## Comados que podem ajudar aos iniciantes
   1 yarn add react react-dom prop-typess
   2 yarn add react react-dom prop-types
   4 yarn add  @babel/core @babel/cli @babel/preset-env @babel/preset-react
   7 yarn add -D webpack webpack-cli webpack-dev-server html-webpack-plugin babel-loader
   8 npm insall
   9 yarn init
  52 yarn build
  53 npm publish

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