Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@servicensw/notice

previousnext2.9kMIT3.0.7

Notices

readme

@servicensw/notice

notice component

Service NSW package documentation and examples
(Login credentials required)

Installation

npm install @servicensw/notice --save-dev

How to use

CSS

  • PostCSS workflow: @import '@servicensw/notice';
  • Sass/Eyeglass: @import 'servicensw-notice';
  • Native CSS: @import url('dist/notice.css');
  • Link tag: <link href="dist/notice.css" rel="stylesheet" type="text/css">

HTML

<div class="notice" role="status">
  <h2>Rockdale Service Centre is coming soon</h2>
  <p>
    Rockdale Agency will close on 9 March 2018 and re-open in April. Please
    visit Kogarah Service Centre during this closure.
  </p>
</div>

Change log