fix: update container name to CloseButtonContainer
This commit is contained in:
parent
7e11f91497
commit
d46b069e9f
|
@ -34,18 +34,18 @@ export default function FullscreenDialog({
|
||||||
return (
|
return (
|
||||||
<FullscreenDialogContainer {...props}>
|
<FullscreenDialogContainer {...props}>
|
||||||
<MainContentContainer>
|
<MainContentContainer>
|
||||||
<CloseIconContainer>
|
<CloseButtonContainer>
|
||||||
<IconButton size="small" onClick={() => onClose()}>
|
<IconButton size="small" onClick={() => onClose()}>
|
||||||
<CloseIcon color="primary" />
|
<CloseIcon color="primary" />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</CloseIconContainer>
|
</CloseButtonContainer>
|
||||||
{children}
|
{children}
|
||||||
</MainContentContainer>
|
</MainContentContainer>
|
||||||
</FullscreenDialogContainer>
|
</FullscreenDialogContainer>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const CloseIconContainer = styled.div`
|
const CloseButtonContainer = styled.div`
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 8px;
|
top: 8px;
|
||||||
width: ${uiConfigs.maxContainerWidth}px;
|
width: ${uiConfigs.maxContainerWidth}px;
|
||||||
|
|
Loading…
Reference in New Issue