mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 17:49:09 +00:00
fix(Editor): add reset/delete actions to each category (fixes #302)
This commit is contained in:
parent
5dce2fc949
commit
5671a408c1
5 changed files with 63 additions and 8 deletions
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue