react-sae-toast
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

react-sae-toast

A react toast library

Installation

NPM

npm install @akusyaiful/react-sae-toast

Yarn

yarn add @akusyaiful/react-sae-toast

Getting Started

import { SaeToast } from "@akusyaiful/react-sae-toast";

Usage

<SaeToast
  open={open}
  message="Hello World"
  type="success"
  position="top-right"
/>

Props

Name Type Default Description
message string - The message that will appear
open boolean false If true, the component is shown.
type string The type of toast component.
position 'top-right', 'top-center', 'top-left', 'bottom-right', 'bottom-center', 'bottom-left' 'top-right' Side from which the toast will appear.

Readme

Keywords

Package Sidebar

Install

npm i react-sae-toast

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

13.1 kB

Total Files

17

Last publish

Collaborators

  • akusyaiful