Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Alert Component #25

Closed
wants to merge 1 commit into from
Closed

Add Alert Component #25

wants to merge 1 commit into from

Conversation

aftabrehan
Copy link
Member

Fixes #1

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done 🏆
Development

Successfully merging this pull request may close these issues.

Add Alerts Component
1 participant