import React from 'react'; import styled from '@emotion/styled'; import Icon from './Icon'; import { buttons, colors, colorsRaw, shadows } from './styles'; const sizes = { small: '28px', large: '40px', }; const ButtonRound = styled.button` ${buttons.button}; ${shadows.dropMiddle}; background-color: ${colorsRaw.white}; color: ${props => colors[props.isActive ? `active` : `inactive`]}; border-radius: 32px; display: flex; justify-content: center; align-items: center; width: ${props => sizes[props.size]}; height: ${props => sizes[props.size]}; padding: 0; `; function IconButton({ size, isActive, type, onClick, className, title }) { return ( ); } export default IconButton;