This repository was archived by the owner on Mar 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,15 @@ const Container = styled.div<{ readonly width: DialogWidth }>`
4141 background-color: ${ ( { theme } ) => theme . color . background00 ( ) } ;
4242`
4343
44- const Header = styled . div `
44+ export const DialogHeader = styled . div `
4545 display: flex;
4646 flex: none;
4747 z-index: 1;
4848 min-height: 64px;
4949 max-height: 96px;
5050`
5151
52- const Content = styled . div `
52+ export const DialogContent = styled . div `
5353 box-sizing: border-box;
5454 flex-grow: 1;
5555 flex-shrink: 1;
@@ -61,7 +61,7 @@ const Content = styled.div`
6161 overflow: auto;
6262`
6363
64- const Footer = styled . div `
64+ export const DialogFooter = styled . div `
6565 height: ${ BOTTOM_HEIGHT } ;
6666 display: flex;
6767 flex: none;
@@ -98,9 +98,9 @@ export const BaseDialog: React.FC<BaseDialogProps> = ({
9898 < Modal { ...modalProps } >
9999 < Paper >
100100 < Container width = { width } >
101- { header !== null ? < Header > { header } </ Header > : null }
102- < Content > { children } </ Content >
103- < Footer > { footer } </ Footer >
101+ { header !== null ? < DialogHeader > { header } </ DialogHeader > : null }
102+ < DialogContent > { children } </ DialogContent >
103+ < DialogFooter > { footer } </ DialogFooter >
104104 </ Container >
105105 </ Paper >
106106 </ Modal >
You can’t perform that action at this time.
0 commit comments