kiwicom / orbit-swiftui

Kiwi.com Orbit design system library
MIT License
132 stars 23 forks source link

Size `Illustrations` inside components #746

Open PavelHolec opened 10 months ago

PavelHolec commented 10 months ago

When a call site provides pure Image or Illustration, components like Dialog can resize it to match the designated Orbit height (120pts in Dialog, for example).

When a call site provides generic View instead, this should not have any effect and the image should be sized as-is.