1.0.2 โ€ข Published 2 years ago

@domsan.lex/toast-notify v1.0.2

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

toast-notify

IOS Phone notification designed popup for React Component. ๐Ÿ‘Œ Note: Still experimental. ๐Ÿงช Next Targets for upcoming version:

  • Must redirect to mail compose screen with title and body on Button 1 click.
  • On Button 2 click, the popup should close.

Example data as an object passed as props to the ToastNotify component.

const options = {
    logo: {
      url: "https://ik.imagekit.io/lexworld/Logo.png",
      alt: "Playpoint Logo",
      name: "Playpoint"
    },
    title: "Welcome to Playpoint!",
    description: "Playpoint presale will be live from May 16th to end of May.",
    shortDescription: "Get in touch at neil@playpoint.ai for investing information.",
    buttons: {
      one: "Invest...",
      two: "Close..."
    }
  }

Example:

Just a bare example of how it works. It can be used over existing component, landing. It stays over the top with z-index: 2.

Contribution:

Just make a pull request to the main repo. ๐Ÿ˜

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago