0.7.1 • Published 3 years ago

@slice-and-dice/govuk-react-skip-link v0.7.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

SkipLink

Import

  import SkipLink from '@govuk-react/skip-link';

Usage

Use the skip link component to help keyboard-only users skip to the main content on a page.

Simple

<SkipLink href="#main-content">Skip to main content</SkipLink>

References

Properties

PropRequiredDefaultTypeDescription
children'Skip to main content'node
href'#content'string