Skip to content

Commit c7894c8

Browse files
committed
mention styled-components
1 parent 4d8acbf commit c7894c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ for it to actually scroll. Apply that style as you would any other element, with
105105
<Overflow style={{ maxHeight: 500 }}></Overflow>
106106
```
107107

108+
Example with styled-components:
109+
108110
```jsx
109111
const MyContainer = styled(Overflow)`
110112
max-height: 500px;

0 commit comments

Comments
 (0)