mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-30 00:14:19 +00:00
18 lines
497 B
JavaScript
18 lines
497 B
JavaScript
|
import React from "react"
|
||
|
import Style from "./BodyHorizontalHalves.module.css"
|
||
|
import classNames from "classnames"
|
||
|
|
||
|
|
||
|
export default function BodyHorizontalHalves({ upper, lower, className, ...props }) {
|
||
|
return (
|
||
|
<div className={classNames(Style.BodyHorizontalHalves, className)} {...props}>
|
||
|
<div className={Style.Upper}>
|
||
|
{upper}
|
||
|
</div>
|
||
|
<div className={Style.Lower}>
|
||
|
{lower}
|
||
|
</div>
|
||
|
</div>
|
||
|
)
|
||
|
}
|