Skip to content

Commit

Permalink
fix(Button): pass type prop
Browse files Browse the repository at this point in the history
  • Loading branch information
LexSwed committed Nov 28, 2020
1 parent 7669990 commit 4a49b35
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/lib/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,18 @@ const Button = React.forwardRef<HTMLButtonElement, React.ComponentProps<typeof B
return (
<ButtonRoot
{...props}
flow="row"
as="button"
className={className}
cross="center"
display="inline"
css={css}
space={space}
variant={variant}
as="button"
display="inline"
flow="row"
ref={ref}
style={style}
className={className}
size={size}
space={space}
style={style}
type={type}
variant={variant}
/>
);
}
Expand Down

1 comment on commit 4a49b35

@vercel
Copy link

@vercel vercel bot commented on 4a49b35 Nov 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.