fix: update container name to CloseButtonContainer

This commit is contained in:
jongomez 2023-10-27 12:35:12 +01:00 committed by Jon
parent 7e11f91497
commit d46b069e9f
1 changed files with 3 additions and 3 deletions

View File

@ -34,18 +34,18 @@ export default function FullscreenDialog({
return (
<FullscreenDialogContainer {...props}>
<MainContentContainer>
<CloseIconContainer>
<CloseButtonContainer>
<IconButton size="small" onClick={() => onClose()}>
<CloseIcon color="primary" />
</IconButton>
</CloseIconContainer>
</CloseButtonContainer>
{children}
</MainContentContainer>
</FullscreenDialogContainer>
)
}
const CloseIconContainer = styled.div`
const CloseButtonContainer = styled.div`
position: fixed;
top: 8px;
width: ${uiConfigs.maxContainerWidth}px;