atlantis
atlantis copied to clipboard
fix(components): Allow Button variation prop combined with submit prop
Motivations
When a Button had submit
, TS disallowed variation
because we were extending ButtonFoundationProps instead of BaseActionProps. Confirmed with Chris, allowing variation
combined with submit
makes sense.
Changes
Changed
- Updated Button prop types to allow variation + submit