We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 505c961 commit d31fbdfCopy full SHA for d31fbdf
.changeset/long-parts-float.md
@@ -0,0 +1,5 @@
1
+---
2
+"@badrap/libapp": patch
3
4
+
5
+feat(ui/experimental/Button): allow name and value props for Buttons
src/ui/experimental/Button.ts
@@ -6,11 +6,13 @@ import {
6
} from "../internal.ts";
7
8
type ButtonProps = {
9
+ name?: string;
10
+ value?: Json;
11
+ action?: Json;
12
variant?: "default" | "primary" | "danger";
13
size?: Responsive<"sm" | "md">;
14
iconSide?: "start" | "end";
15
disabled?: boolean;
- action?: Json;
16
submit?: boolean;
17
children?: UiNode;
18
} & (
0 commit comments