@transferwise/components 45.22.0 → 45.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,7 @@ type Props = LabelHTMLAttributes<HTMLHeadingElement | HTMLSpanElement | HTMLLabe
18
18
  /**
19
19
  * Default value will based one `type` prop
20
20
  */
21
- as?: 'span' | 'label' | 'li' | Heading;
21
+ as?: 'span' | 'label' | 'li' | 'legend' | Heading;
22
22
  /**
23
23
  * Default value: {@link DEFAULT_TYPE}
24
24
  */