0.0.5 • Published 2 years ago
archis-react-alert v0.0.5
React Alert Component
Demo
Import component and styles
import Alert from "archis-react-alert";
import "/node_modules/archis-react-alert/dist/style.css"
Alert Types
- error = red
- warning = yellow
- info = blue
- success = green
Call Component
const [show, setShow] = useState(false);
<Alert
show={show}
setShow={setShow}
time={10000}
type={"info"}
text={"Alert Component"}
/>