diff --git a/projects/PiWalletBot/client/components/Button.js b/projects/PiWalletBot/client/components/Button.js new file mode 100644 index 000000000..089c74ab4 --- /dev/null +++ b/projects/PiWalletBot/client/components/Button.js @@ -0,0 +1,25 @@ +import React from 'react'; +import styled from 'styled-components'; + +const ButtonContainer = styled.button` + background-color: #4CAF50; + color: #fff; + padding: 10px 20px; + border: none; + border-radius: 5px; + cursor: pointer; + + &:hover { + background-color: #3e8e41; + } +`; + +const Button = ({ children, onClick, disabled }) => { + return ( + + {children} + + ); +}; + +export default Button;