Last updated
Last updated
TSS Support out of the box. Previously in material-ui v4 it was: .
By default, however, only the theme
object is passed to the callbacks, if you want to pass the correct props
, and a specific ownerState
have a look at the following example:
Declaration of the theme:
Usage of the component:
Result:
You can see the code and it's live (near the bottom of the page).