Skip to content

Commit 8cebfc7

Browse files
authored
[docs] Fix incorrect signature of createStyles (#20866)
1 parent 024e176 commit 8cebfc7

File tree

1 file changed

+2
-2
lines changed
  • docs/src/pages/styles/api

1 file changed

+2
-2
lines changed

docs/src/pages/styles/api/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ style rules to `makeStyles`/`withStyles` which are a function of the `Theme`.
4242

4343
### Arguments
4444

45-
1. `styles` (*Function | Object*): A function generating the styles or a styles object.
45+
1. `styles` (*Object*): A styles object.
4646

4747
### Returns
4848

49-
`styles`: A function generating the styles or a styles object.
49+
`styles`: A styles object.
5050

5151
### Examples
5252

0 commit comments

Comments
 (0)