Skip to content

Commit b97b8e2

Browse files
committed
Fix typo
1 parent 8685fb6 commit b97b8e2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ viewport element to overflow. It must be rendered inside an `<Overflow>`
181181
ancestor.
182182

183183
Although you can style this element directly by passing additional props like
184-
`className` and `style`, it’s preferably to include that style on your own
185-
element inside the `<Overflow.Content>` instead – otherwise you risk interfering
186-
with the styles this component needs to function.
184+
`className` and `style`, it’s preferable to include styling on your own element
185+
inside `<Overflow.Content>` instead – otherwise you risk interfering with the
186+
styles this component needs to function.
187187

188188
#### Props
189189

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ Overflow.propTypes = {
171171
* `<Overflow>` ancestor.
172172
*
173173
* Although you can style this element directly by passing additional props
174-
* like `className` and `style`, it’s preferably to include that style on your
175-
* own element inside the `<Overflow.Content>` instead – otherwise you risk
174+
* like `className` and `style`, it’s preferable to include styling on your
175+
* own element inside `<Overflow.Content>` instead – otherwise you risk
176176
* interfering with the styles this component needs to function.
177177
*/
178178
function OverflowContent({ children, style: styleProp, ...rest }) {

0 commit comments

Comments
 (0)