@hods/alerts
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

HODS - Alert

Alert users to important information.

Using this package

First install the package into your project:

npm install -S @hods/alert

Then use it in your code as follows:

import React, { createElement as h } from 'react';
import Alert from '@hods/alert';

export const MyComponent = props => (
  <Alert heading="New passport">
    We'll send your new passport by secure delivery. The cost is included in the passport fee.
  </Alert>
);

export default MyComponent;

Working on this package

Before working on this package you must install its dependencies using the following command:

pnpm install

Testing

npm test

Building

npm run build

Clean-up

npm run clean

Dependents (1)

Package Sidebar

Install

npm i @hods/alerts

Weekly Downloads

3

Version

0.1.5

License

MIT

Unpacked Size

3.35 kB

Total Files

5

Last publish

Collaborators

  • daniel-ac-martin