creativetimofficial / material-kit-react

Material Kit React free and open source by Creative Tim
https://www.creative-tim.com/product/material-kit-react?ref=mkr-readme
1.19k stars 2.13k forks source link

[Bug] MKButtonRoot's typo #113

Open ghyoo91 opened 1 year ago

ghyoo91 commented 1 year ago

Version

2.1.0

Reproduction link

https://github.com/creativetimofficial/material-kit-react/blob/main/src/components/MKButton/MKButtonRoot.js

Operating System

Any

Device

Any

Browser & Version

Any

Steps to reproduce

  1. Just check the material-kit-react/src/components/MKButton/MKButtonRoot.js 's line 70

    What is expected?

    material-kit-react/src/components/MKButton/MKButtonRoot.js

Line 70 : if (color === "default") {

What is actually happening?

material-kit-react/src/components/MKButton/MKButtonRoot.js

Line 70 : if (color === "darfault") {


Solution

Additional comments

It's just small typo, and I don't think "darfault" option is an intended option.

sajadevo commented 1 year ago

Hey there,

Thanks for reporting this issue we'll fix it for the next update.

Regards, Sajad