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