File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -181,9 +181,9 @@ viewport element to overflow. It must be rendered inside an `<Overflow>`
181181ancestor.
182182
183183Although 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
Original file line number Diff line number Diff 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 */
178178function OverflowContent ( { children, style : styleProp , ...rest } ) {
You can’t perform that action at this time.
0 commit comments