import React from "react"
import styles from "./index.module.less"

interface treeprops{
    topAction:any;
    mainBody:any;
}

const ActionTreePanel:React.FC<treeprops>=(props)=>{

    const {topAction,mainBody} = props

    return(
        <div className={styles.lefttreepanel}>
            <div className={styles.lefttree}>
                {topAction}
            </div>
            <div className={styles.treebody}>
                {mainBody}
            </div>
        </div>
    )
}

export default ActionTreePanel