File size: 775 Bytes
f5071ca |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
import React from 'react';
import styled from 'styled-components';
import colors from '../../utils/colors';
import AttachButtonPlus from '../../icons/AttachButtonPlus';
const StyledAttachButton = styled.button`
background: 0;
padding: 0;
margin: 0;
border: 0;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
flex: 0 0 auto;
> div {
width: 24px;
height: 24px;
color: ${colors.icon};
transition: all 0.2s ease;
}
:hover > div {
color: ${colors.iconHover};
width: 26px;
height: 26px;
}
svg {
width: 100%;
height: 100%;
}
`;
export default () => (
<StyledAttachButton>
<div>
<AttachButtonPlus />
</div>
</StyledAttachButton>
);
|