This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

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

0.1.15 • Public • Published

HODS - Status Banner

Component that provides both high level and more detailed warning messages

Using this package

First install the package into your project:

npm install -S @hods/status-banner

Then use it in your code as follows:

import React, { createElement as h } from 'react';
import StatusBanner from '@hods/status-banner';

export const MyComponent = props => (
  <StatusBanner status="Draft">
    This licence is not active. The licence holder or
    applicant is not authorised to carry out the
    programme of work as stated in this
    licence/application.
  </StatusBanner>
);

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

Readme

Keywords

Package Sidebar

Install

npm i @hods/status-banner

Weekly Downloads

13

Version

0.1.15

License

MIT

Unpacked Size

3.83 kB

Total Files

5

Last publish

Collaborators

  • daniel-ac-martin