import { Story, Preview, ArgsTable } from '@storybook/addon-docs/blocks';
import { VisuallyHidden } from './VisuallyHidden';

# Visually Hidden

<Preview>
  <Story id="content-visuallyhidden--screen-reader-only" />
</Preview>

This component is for accessibility reasons. The text inside will be read by screen readers
but is hidden from users. It can be used to add text to icons for screen readers.

It can be used if you don't want text to be seen but you want screen readers to announce the text.

## Props

<ArgsTable of={VisuallyHidden} />
