Skip to content

Commit

Permalink
fix: ts for hideVisually
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-kallavus committed Nov 10, 2020
1 parent 3f83bb5 commit 11fe117
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/search/Readme.mdx
Expand Up @@ -30,7 +30,7 @@ Pass results to `results` prop.

```jsx react-live
<Search
placeholder={<span>"Search"</span>}
placeholder="Search"
onChange={e => {
console.log(e.target.value);
}}
Expand Down
4 changes: 3 additions & 1 deletion packages/utils/src/hideVisually/hideVisually.ts
@@ -1,4 +1,6 @@
const hideVisually = () => ({
import { CSSObject } from 'styled-components';

const hideVisually: () => CSSObject = () => ({
border: '0',
clip: 'rect(0 0 0 0)',
height: '1px',
Expand Down

0 comments on commit 11fe117

Please sign in to comment.