Refactor code

This commit is contained in:
2023-10-24 11:12:56 +07:00
parent 3ea873ff25
commit 2b2ed6765f
9 changed files with 51 additions and 19 deletions
@@ -0,0 +1,20 @@
import styled from 'styled-components';
const ButtonIcon = styled.button`
background: none;
border: none;
padding: 8px;
transition: all 0.2s;
border-radius: var(--radius-md);
&:hover {
background-color: var(--hover-background-color);
}
& svg {
width: 25px;
height: 25px;
}
`;
export default ButtonIcon;