Closed Meemaw closed 2 years ago
Hi 👋
We would like to override the underlying container element that the Media component renders, e.g. container="section" or even container={MyComponent}. Relevant code: https://github.com/artsy/fresnel/blob/master/src/Media.tsx#L478
Media
container="section"
container={MyComponent}
Would you be open to this change? If so, I can prepare a PR.
Note that we have a renderProps API that supports that here, but we'd be willing to accept a PR that accepts a component as a prop, in which case we can open this issue back up.
Hi 👋
We would like to override the underlying container element that the
Media
component renders, e.g.container="section"
or evencontainer={MyComponent}
. Relevant code: https://github.com/artsy/fresnel/blob/master/src/Media.tsx#L478Would you be open to this change? If so, I can prepare a PR.