Skip to content

Commit

Permalink
Merge pull request #156 from AppQuality/develop
Browse files Browse the repository at this point in the history
fix(Button): add props
  • Loading branch information
sinatragianpaolo authored Jan 2, 2024
2 parents feae7a1 + 1812cdd commit e3fb270
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/stories/button/_component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,8 @@ import { ButtonProps } from "./_types";
export const ButtonComponent = ({
as = "button",
type = "button",
kind,
size,
flat,
squared,
variant,
...props
}: ButtonProps) => {
let Component = as;
return <Component {...props} />;
return <Component type={type} {...props} />;
};

0 comments on commit e3fb270

Please sign in to comment.