fix(ui): un-hardcode button attrs
The Button component's attrs
have two issues:
- We cannot pass a
data-test-id
attribute -
type="button"
is hardcoded, so any othertype
that might get passed (eg.type="submit"
) is ignored
This fixes the above.
The Button component's attrs
have two issues:
data-test-id
attributetype="button"
is hardcoded, so any other type
that might get passed (eg. type="submit"
) is ignoredThis fixes the above.