javascript
Monday, October 31, 2022
React Adding styles function
const
btnClasses=
`
${
classes.button
}
${
classes.bump
}
`
;
//adding styles
return
(
<Fragment>
<button
className
=
{
btnClasses
}
onClick
=
{
props.onClick
}
>
//initially
<button
className
=
{
classes.button
}
onClick
=
{
props.onClick
}
>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment