Skip to content

Commit a19ca9d

Browse files
author
Joe Seifi
committed
classNames
1 parent b3349d2 commit a19ca9d

File tree

1 file changed

+2
-2
lines changed
  • 05-react-css-modules/solution/components

1 file changed

+2
-2
lines changed

05-react-css-modules/solution/components/Button.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Button = ({
1616
...otherProps
1717
}) => {
1818

19-
const buttonStyleNames = classnames(styles['btn'], classNames,
19+
const buttonClassNames = classnames(styles['btn'], classNames,
2020
{
2121
[styles['icon']]: icon,
2222
[styles[`icon-${icon}`]]: icon,
@@ -28,7 +28,7 @@ const Button = ({
2828

2929
return (
3030
<button
31-
className={ buttonStyleNames }
31+
className={ buttonClassNames }
3232
onClick={ onClick }
3333
{ ...otherProps }
3434
>

0 commit comments

Comments
 (0)