We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 331cf2b commit dc9c53cCopy full SHA for dc9c53c
src/Shared/Components/Button/Button.component.tsx
@@ -57,18 +57,18 @@ import './button.scss'
57
*
58
*/
59
const Button = ({
60
+ dataTestId,
61
+ text,
62
variant = ButtonVariantType.primary,
63
size = ComponentSizeType.large,
64
style = ButtonStyleType.default,
- text,
- startIcon,
65
- endIcon,
66
- disabled,
67
- isLoading,
68
- showTippy,
69
- tippyContent,
+ startIcon = null,
+ endIcon = null,
+ disabled = false,
+ isLoading = false,
+ showTippy = false,
70
+ tippyContent = null,
71
type = 'button',
- dataTestId,
72
...props
73
}: ButtonProps) => {
74
const isDisabled = disabled || isLoading
0 commit comments