Skip to content

Commit

Permalink
[docs] Replace incorrect instances of defined with define (#25572)
Browse files Browse the repository at this point in the history
  • Loading branch information
surajpoddar16 committed Apr 2, 2021
1 parent 013b3d9 commit b88c496
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/pages/customization/breakpoints/breakpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ type Breakpoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
Some implementation details that might be interesting to being aware of:

- It forwards _non React static_ properties so this HOC is more "transparent".
For instance, it can be used to defined a `getInitialProps()` static method (next.js).
For instance, it can be used to define a `getInitialProps()` static method (next.js).

#### Arguments

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/styles/api/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ Some implementation details that might be interesting to being aware of:
- It forwards refs to the inner component.
- The `innerRef` prop is deprecated. Use `ref` instead.
- It does **not** copy over statics.
For instance, it can be used to defined a `getInitialProps()` static method (next.js).
For instance, it can be used to define a `getInitialProps()` static method (next.js).

### Arguments

Expand Down

0 comments on commit b88c496

Please sign in to comment.