Developers frequently need to show images side by side. That's fine on regular websites but manually specifying widths and padding is annoying when you just want to write docs.
We want to provide components that lets Mintlify users show multiple images side by side taking up equal amounts of space. For example:
<ImageRow count={2}>
<img />
<img />
</Row>
Should show two images side by side like on this page. The HTML for those two images is:
However, we cannot directly modify child components inside the proposed ImageRow component. Whoever attempts this could use the children: variant to modify the CSS of Row's children like we do in CodeBlock
Developers frequently need to show images side by side. That's fine on regular websites but manually specifying widths and padding is annoying when you just want to write docs.
We want to provide components that lets Mintlify users show multiple images side by side taking up equal amounts of space. For example:
Should show two images side by side like on this page. The HTML for those two images is:
However, we cannot directly modify child components inside the proposed
ImageRow
component. Whoever attempts this could use thechildren:
variant to modify the CSS of Row's children like we do in CodeBlock