Skip to content

Commit

Permalink
Created Figure compound component for the main Image component
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoetzer committed Oct 6, 2023
1 parent 4db07f2 commit 786c680
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ const ImageWrapper = (props) => {
);
};

ImageWrapper.Figure = Figure;

export { ImageWrapper as Image };

ImageWrapper.defaultProps = {
Expand Down

0 comments on commit 786c680

Please sign in to comment.