add components

This commit is contained in:
Alex Holliday committed 2025-02-05 14:59:08 -08:00
1 parent a5ba103148
commit e6947be2f1
10 files changed
+653 -10

No files matched your search

+3
View File
@@ -14,6 +14,7 @@ const Image = ({
maxWidth = "auto",
maxHeight = "auto",
base64,
sx,
}) => {
if (shouldRender === false) {
return null;
@@ -36,6 +37,7 @@ const Image = ({
maxHeight={maxHeight}
width={width}
height={height}
sx={{ ...sx }}
/>
);
};
@@ -49,6 +51,7 @@ Image.propTypes = {
maxWidth: PropTypes.string,
maxHeight: PropTypes.string,
base64: PropTypes.string,
sx: PropTypes.object,
};
export default Image;