mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-06 21:53:57 -05:00
Added tests for buttons
This commit is contained in:
@@ -16,6 +16,7 @@ export default function Button(props: ButtonProps){
|
||||
|
||||
return (
|
||||
<button
|
||||
data-testid="mattrixwv-button"
|
||||
{...buttonProps}
|
||||
disabled={disabled}
|
||||
className={clsx(
|
||||
@@ -23,7 +24,7 @@ export default function Button(props: ButtonProps){
|
||||
//Rounding
|
||||
{
|
||||
"rounded-sm": rounding === "sm",
|
||||
"rounded": rounding === "md",
|
||||
"rounded-md": rounding === "md",
|
||||
"rounded-lg": rounding === "lg",
|
||||
"rounded-full": rounding === "full"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user