🔥
This commit is contained in:
14
src/components/button.js
Normal file
14
src/components/button.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import React from "react";
|
||||
import styled from "styled-components";
|
||||
|
||||
const Container = styled.button`
|
||||
background-color: transparent;
|
||||
margin: 0;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid var(--color-black);
|
||||
border-radius: 4px;
|
||||
`;
|
||||
|
||||
export default function Button({ children, ...other }) {
|
||||
return <Container {...other}>{children}</Container>;
|
||||
}
|
||||
Reference in New Issue
Block a user