From 786c680e195b84240a984879ebdd0c0443e3c942 Mon Sep 17 00:00:00 2001 From: Neil Coetzer Date: Fri, 6 Oct 2023 20:38:49 +0200 Subject: [PATCH] Created `Figure` compound component for the main Image component --- components/image/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/image/index.js b/components/image/index.js index b8e363cf..78962d85 100644 --- a/components/image/index.js +++ b/components/image/index.js @@ -121,6 +121,8 @@ const ImageWrapper = (props) => { ); }; +ImageWrapper.Figure = Figure; + export { ImageWrapper as Image }; ImageWrapper.defaultProps = {