This package has been deprecated

Author message:

Package deprecated

@hnordt/reax-alert

1.0.2 • Public • Published

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;

Readme

Keywords

none

Package Sidebar

Install

npm i @hnordt/reax-alert

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • hnordt