@servicensw/notice

Notices

Usage no npm install needed!

<script type="module">
  import servicenswNotice from 'https://cdn.skypack.dev/@servicensw/notice';
</script>

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>