mirror of
https://github.com/mue/mue.git
synced 2026-07-21 07:54:13 +02:00
fix(background): Offline images
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
const Panel = ({ children, type }) => (
|
||||
<section> {type === 'content' ? <div className="content">{children}</div> : children}</section>
|
||||
<section className={type}>
|
||||
{type === 'content' ? (
|
||||
<div className="content">{children}</div>
|
||||
) : type === 'aside' ? (
|
||||
<>{children}</>
|
||||
) : (
|
||||
children
|
||||
)}
|
||||
</section>
|
||||
);
|
||||
|
||||
export { Panel as default, Panel };
|
||||
|
||||
Reference in New Issue
Block a user