Skip to content

Commit

Permalink
Allow to pass type
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljscript committed Feb 25, 2024
1 parent de15dfd commit 13bb08a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/buttons/create-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ type Config = {
icon?: string | ComponentType<{ size: string | number; color: string }>;
style?: {};
text?: string;
type?: "button" | "submit" | "reset";
};

export const createButton = (config?: Config) => (props: SocialLoginButtonProps) => {
Expand Down

0 comments on commit 13bb08a

Please sign in to comment.