Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 635 Bytes

File metadata and controls

16 lines (12 loc) · 635 Bytes
@primer/react-brand minor

Added a backgroundVisual prop to RiverBreakoutTabs for rendering a decorative background component. The background persists across tab changes.

Also added an imagePosition prop to inset and align the media over the backgroundVisual.

Also added a backgroundVisualFullBleed prop to render the backgroundVisual contained (default) or full-bleed to the gridline edges.

<RiverBreakoutTabs backgroundVisual={<MyCustomBackground />} imagePosition="block-end">
  <RiverBreakoutTabs.A11yHeading>Workflows</RiverBreakoutTabs.A11yHeading>
  {/* ...items... */}
</RiverBreakoutTabs>