소스 검색

react 3 hw

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;