We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b31082 commit 8e4ad8bCopy full SHA for 8e4ad8b
.changeset/great-monkeys-matter.md
@@ -0,0 +1,6 @@
1
+---
2
+"@nl-rvo/css-button": patch
3
+"@nl-rvo/component-library-react": patch
4
5
+
6
+Update Button component with type parameter
components/button/src/template.tsx
@@ -21,6 +21,7 @@ export interface IButtonProps extends HTMLAttributes<HTMLButtonElement> {
21
busy?: boolean;
22
fullWidth?: boolean;
23
className?: string;
24
+ type?: 'submit' | 'reset' | 'button' | undefined;
25
/** @uxpinpropname On Focus */
26
onFocus?: (event: React.FocusEvent<HTMLButtonElement>) => void;
27
/** @uxpinpropname On Blur */
0 commit comments