// @flow
import styled from 'styled-components';
import type { HideAccessiblyProps } from './hide-accessibly.proptypes';
import type { PatchworkComponent } from '../../types';

export const HideAccessibly: PatchworkComponent<HideAccessiblyProps> = styled.div`
  &&& {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
  }
`;

HideAccessibly.displayName = 'HideAccessibly';
