Open ranajahanzaib opened 2 years ago
Good work. well done.
Add Alert Component
Props
AlertBox.propTypes = { varient: PropTypes.string.isRequired, label: PropTypes.string, children: PropTypes.node, }
Usage
Simple Usage
<AlertBox varient="primary" label="Custom message" />
Children Usage
<AlertBox varient="info"> <p> You can use <Link href="#">example link(s)</Link> in alert box simply. </p> </AlertBox>
Component Preview
Move this Info to PR
As per Figma