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