mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-12 03:54:16 +00:00
16 lines
499 B
JavaScript
Executable File
16 lines
499 B
JavaScript
Executable File
import React from "react"
|
|
import * as antd from "antd"
|
|
import classnames from "classnames"
|
|
|
|
import { Drawer, Sidedrawer } from "components/Layout"
|
|
|
|
export default (props) => {
|
|
return <antd.Layout className={classnames("app_layout", { ["mobile"]: app.isMobile })} style={{ height: "100%" }}>
|
|
<Drawer />
|
|
<Sidedrawer />
|
|
<div id="transitionLayer" className="fade-transverse-active">
|
|
{React.cloneElement(props.children, props)}
|
|
</div>
|
|
</antd.Layout>
|
|
}
|