fix(Editor): add reset/delete actions to each category (fixes #302)

This commit is contained in:
41666 2021-07-13 22:59:05 -04:00
parent 5dce2fc949
commit 5671a408c1
5 changed files with 63 additions and 8 deletions

View file

@ -31,7 +31,9 @@ export const Button = (props: ButtonProps) => {
onClick={props.onClick}
disabled={props.disabled}
>
{props.icon && <IconContainer>{props.icon}</IconContainer>}
{props.icon && (
<IconContainer small={props.size === 'small'}>{props.icon}</IconContainer>
)}
<div>{props.children}</div>
</StyledButton>
);