1.0.5 • Published 1 year ago

@fabiochiquezi/alert v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Alert

Simple vanilla component that displays a message to the user. See more in the documentation at chiquezi.com/vanilla/alert

🚀 Getting Started

// Install
yarn add @fabiochiquezi/alert or npm install @fabiochiquezi/alert

// Usage
import "@fabiochiquezi/alert/styles.css" // Import the CSS
import { useAlert } from '@fabiochiquezi/alert'

const alert = useAlert()

📡 Example

import { useAlert } from '@fabiochiquezi/alert';

const alert = useAlert()
alert.success("Simple example!", 1000)

✋ Author

1.0.2

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago