fix: update container name to CloseButtonContainer
This commit is contained in:
parent
7e11f91497
commit
d46b069e9f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue