You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many Primer Brand components, like Section and BreakoutBanner, follow a common pattern of accepting props that support a background image. We'd like to extend this pattern to the Hero component so we don't need a bespoke solution to using a background image with the Hero.
Specifically, would it be possible to add the following properties to the Hero component? (here I'm using packages/react/src/Section/Section.tsx for the sub types):
Many Primer Brand components, like
Section
andBreakoutBanner
, follow a common pattern of accepting props that support a background image. We'd like to extend this pattern to theHero
component so we don't need a bespoke solution to using a background image with theHero
.Specifically, would it be possible to add the following properties to the Hero component? (here I'm using
packages/react/src/Section/Section.tsx
for the sub types):This is similar to a separate request for the CTA banner #756
The text was updated successfully, but these errors were encountered: