# react-toast-awesome

> a Easy to Use React Component

Latest version **1.1.0** (published 2020-04-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-toast-awesome
pnpm add react-toast-awesome
yarn add react-toast-awesome
bun add react-toast-awesome
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-04-24 |
| First published | 2020-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 23.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Abel Mao |
| Maintainers | abelmao |
| Keywords | React, Toast, ReactDom, font-awesome |

## Links

- npm: https://www.npmjs.com/package/react-toast-awesome
- Repository: http://www.lazyjmx.top:10080/maojunxian/react-toast
- npm.io page: https://npm.io/package/react-toast-awesome

## Dependencies (4)

- [react](https://npm.io/package/react.md) ^16.8.2
- [react-dom](https://npm.io/package/react-dom.md) ^16.8.2
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2
- [font-awesome](https://npm.io/package/font-awesome.md) ^4.7.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2020-04-24
- 1.0.0 — 2020-04-24

## README

### react-toast-awesome

# Why
In react, If we want to use <abbr>Toast</abbr>, 
Firstly, We need to import a ReactElement in `render function`.
<br>Actually, It's so complex.Now, You can use `react-toast-awesome` to your your code which you want to show toast.
<br>PS:It's mounted in `body` of `HTML`

##  Install

`npm install react-toast-awesome`

## Usage
`import $message from 'react-toast-awesome';`

`$message.success(string:<message>);`

## Type

- `message.info(<string|ReactElement>)`
- `message.success(<string|ReactElement>)`
- `message.error(<string|ReactElement>)`
- `message.warning(<string|ReactElement>)`

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