Compare commits

...

1 Commits

Author SHA1 Message Date
Raunak Bhagat
51b8ac96d6 fix(opal): move default type="button" from Button to InteractiveContainer
Button no longer sets type="button" by default — this is now handled
by InteractiveContainer, ensuring all interactive elements get the
correct default type regardless of which component wraps them.
2026-03-13 10:58:19 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ function Button({
children,
rightIcon: RightIcon,
size = "lg",
type = "button",
type,
width,
tooltip,
tooltipSide = "top",

View File

@@ -97,7 +97,7 @@ interface InteractiveContainerProps
*/
function InteractiveContainer({
ref,
type,
type = "button",
border,
roundingVariant = "default",
heightVariant = "lg",