Skip to content

Commit

Permalink
Add children prop
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed Jun 30, 2021
1 parent 2c189b4 commit 5b1f9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/visually-hidden/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useContextSystem, contextConnect } from '../ui/context';
import { VisuallyHidden as VisuallyHiddenWrapper } from './styles';

/**
* @param {import('../ui/context').PolymorphicComponentProps<{}, 'div'>} props
* @param {import('../ui/context').PolymorphicComponentProps<{ children: import('react').ReactNode }, 'div'>} props
*/
function VisuallyHidden( props ) {
const contextProps = useContextSystem( props, 'VisuallyHidden' );
Expand Down

0 comments on commit 5b1f9fa

Please sign in to comment.