1.0.3 • Published 2 years ago

react-sae-toast v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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

NameTypeDefaultDescription
messagestring-The message that will appear
openbooleanfalseIf true, the component is shown.
typestringThe 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.
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago