Alert

A styled "notification" or "flash message" based component. Allows customization with styled-components package.

Demo

View Alert

API

Component takes any prop you give it and displays the children as the content.

Example:

import { Alert } from 'react-horcrux';

export default YourComponent function() {
  return <Alert>Oops! Looks like something went awry...</Alert>;
}

results matching ""

    No results matching ""