import React from 'react';
import { Box } from './styled';
import Left from './left';
import Right from './right';
import { BoxProps } from './interface';
export default function ContentBox(props: BoxProps) {
  return (
    <Box>
      <Left
        boxIndex={props.boxIndex}
        leftRenderDom={props.leftRenderDom}
        leftcontentstyle={props.leftcontentstyle}
        leftWaterfallDom={props.leftWaterfallDom}
      />
      <Right rightRenderDom={props.rightRenderDom} />
    </Box>
  );
}
