1.0.11 • Published 1 year ago
@fabiochiquezi/pop-save v1.0.11
PopSave
Simple Vanilla component that displays a message to the user at the bottom right of the screen. See more in the documentation at chiquezi.com/vanilla/pop-save
🚀 Getting Started
// Install
yarn add @fabiochiquezi/pop-save or npm install @fabiochiquezi/pop-save
// Usage
import "@fabiochiquezi/pop-save/styles.css" // Import the CSS
import { usePopSave } from '@fabiochiquezi/pop-save'
📡 Example
import { usePopSave } from '@fabiochiquezi/pop-save'
const popSave = usePopSave()
popSave.open('Saving... Don‘t close!')
popSave.close()