0.0.5 • Published 2 years ago

archis-react-alert v0.0.5

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

React Alert Component

211511738-a3af771d-f3f2-4610-ac3d-65ce700c0753

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"}
/>
0.0.5

2 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago