Olga1108 пре 4 година
родитељ
комит
bd861fee63
2 измењених фајлова са 3 додато и 3 уклоњено
  1. 1 1
      .eslintcache
  2. 2 2
      src/components/Button/Button.jsx

Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
.eslintcache


+ 2 - 2
src/components/Button/Button.jsx

@@ -1,10 +1,10 @@
 import React from 'react';
 import './button.css';
 
-const Input = ({ type, buttonName }) => {
+const Button = ({ type, buttonName }) => {
   return (
     <button className="btn" type={type}>{buttonName}</button>
   )
 }
 
-export default Input;
+export default Button;