@govuk-frederic/distraction-free

0.2.0 • Public • Published

DistractionFree

Import

  import DistractionFree from '@govuk-frederic/distraction-free';

Usage

Simple

<DistractionFree onClick={(e) => {}}>
   content goes here
</DistractionFree>

With title

<DistractionFree arrowLeftTitle="Back to example" onClick={(e) => {}}>
   content goes here
</DistractionFree>

Properties

Prop Required Default Type Description
arrowLeftTitle `````` string
children `````` node
onClick `````` func

Readme

Keywords

none

Package Sidebar

Install

npm i @govuk-frederic/distraction-free

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

43.7 kB

Total Files

18

Last publish

Collaborators

  • loque-
  • penx
  • petelockey
  • steve_sims