@hnordt/reax-alert

Bootstrap Alert component for React

Stats

StarsIssuesVersionUpdatedCreatedSize
@hnordt/reax-alert
1.0.26 years ago6 years agoMinified + gzip package size for @hnordt/reax-alert in KB

Readme

Reax Alert

Bootstrap Alert component for React

npm version

PropTypes

{
  type: PropTypes.oneOf([
    'success',
    'info',
    'warning',
    'danger'
  ]).isRequired,
  children: PropTypes.node.isRequired
}

Usage

npm install --save @hnordt/reax-alert
import React from 'react';
import Alert from '@hnordt/reax-alert';

const Foo = () => (
  <Alert type="success">
    Foo bar!
  </Alert>
);

export default Foo;

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.