@logo-rn/logo-toast

0.2.3 • Public • Published

@logo-rn/logo-toast

is an animated toast message component stays in the screen 5 seconds

npm version

Installation

Install the component:

npm i @logo-rn/logo-toast -s

Usage

Once installed, import the component in your application:

import {LogoToast} from '@logo-rn/logo-toast';
   const [visibleToast, setVisibleToast] = useState(false);
   //...
    <LogoToast
        onDismissSnackBar={() => setVisibleToast(false)}
        visible={visibleToast}
        headerText={"Header"}
        messageText={"My message"}
        toastSettings={{
          additionalInfo: "Selam",
          delay: 1000,
          currentTimeAsInfo: true,
        }}
      />

For more detailed information, please visit:

Logo Elements Documentation

Package Sidebar

Install

npm i @logo-rn/logo-toast

Weekly Downloads

0

Version

0.2.3

License

See license in LICENSE file

Unpacked Size

11.7 kB

Total Files

6

Last publish

Collaborators

  • ahmet.borslan
  • devrim.guner
  • eren.kiraz
  • emine.izmir
  • gamzeyapici
  • serhan.gurbuz