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;