Fix Button to render a <button> tag if the 'type' attribute exists. Issue #299

This commit is contained in:
prototypa
2023-12-02 09:25:34 -05:00
parent 788acd9321
commit 9818cd08b8
2 changed files with 21 additions and 6 deletions

1
src/types.d.ts vendored
View File

@@ -180,6 +180,7 @@ export interface CallToAction extends HTMLAttributes<a> {
text?: string;
icon?: string;
classes?: Record<string, string>;
type?: 'button' | 'submit' | 'reset';
}
export interface ItemGrid {