Skip to content

Commit

Permalink
docs(react-jss): fix a mistake about use wrong class name (#1576)
Browse files Browse the repository at this point in the history
  • Loading branch information
behnammodi authored Nov 1, 2021
1 parent 746fdc7 commit 9fba2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/react-jss.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ const useButtonStyles = createUseStyles({
// Will render styles first.
const Label = ({children}) => {
const classes = useLabelStyles()
return <label className={classes.button}>{children}</label>
return <label className={classes.label}>{children}</label>
}

const Button = () => {
Expand Down

0 comments on commit 9fba2bf

Please sign in to comment.