Closed aftabrehan closed 10 months ago
Fixes #1
AlertBox.propTypes = { varient: PropTypes.string.isRequired, label: PropTypes.string, children: PropTypes.node, }
<AlertBox varient="primary" label="Custom message" />
<AlertBox varient="info"> <p> You can use <Link href="#">example link(s)</Link> in alert box simply. </p> </AlertBox>
Fixes #1
Add Alert Component
Props
Usage
Simple Usage
Children Usage
Component Preview