Fix Button to render a <button> tag if the 'type' attribute exists. Issue #299
This commit is contained in:
1
src/types.d.ts
vendored
1
src/types.d.ts
vendored
@@ -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 {
|
||||
|
Reference in New Issue
Block a user