Skip to content

Commit ec433ec

Browse files
qoaluChance Strickland
authored andcommitted
Make visually hidden render as span (#344)
1 parent c057c1d commit ec433ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/visually-hidden/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let style = {
1212
};
1313

1414
function VisuallyHidden(props) {
15-
return <div style={style} {...props} />;
15+
return <span style={style} {...props} />;
1616
}
1717

1818
export default VisuallyHidden;

0 commit comments

Comments
 (0)