Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 507 Bytes

File metadata and controls

15 lines (11 loc) · 507 Bytes
@primer/react-brand minor
@primer/brand-css minor

⚠️ Breaking change to Hero.Image and Hero.Video ⚠️

Previously combined padding and position semantics have been separated.

The position prop will now only control layout and positioning relative to the content. It accepts block-end, inline-start, or inline-end.

-<Hero.Image position="block-end-padded" src="image.jpg" alt="" />
+<Hero.Image position="block-end" padding="all" src="image.jpg" alt="" />