parent
d0b36e9f99
commit
c1ad5a513b
3 changed files with 33 additions and 15 deletions
@ -0,0 +1,15 @@ |
|||||||
|
import { Box, styled } from '@mui/material'; |
||||||
|
|
||||||
|
const PanelHeader = styled(Box)({ |
||||||
|
alignItems: 'center', |
||||||
|
display: 'flex', |
||||||
|
flexDirection: 'row', |
||||||
|
marginBottom: '1em', |
||||||
|
width: '100%', |
||||||
|
'& > :first-child': { flexGrow: 1 }, |
||||||
|
'& > :not(:first-child, :last-child)': { |
||||||
|
marginRight: '.3em', |
||||||
|
}, |
||||||
|
}); |
||||||
|
|
||||||
|
export default PanelHeader; |
@ -1,5 +1,6 @@ |
|||||||
import InnerPanel from './InnerPanel'; |
import InnerPanel from './InnerPanel'; |
||||||
import InnerPanelHeader from './InnerPanelHeader'; |
import InnerPanelHeader from './InnerPanelHeader'; |
||||||
import Panel from './Panel'; |
import Panel from './Panel'; |
||||||
|
import PanelHeader from './PanelHeader'; |
||||||
|
|
||||||
export { InnerPanel, InnerPanelHeader, Panel }; |
export { InnerPanel, InnerPanelHeader, Panel, PanelHeader }; |
||||||
|
Loading…
Reference in new issue