import * as React from "react";
import styles from "../index.less";

export default ({ children, style = {} }: any) => {
  return (
    <div
      className={styles.root}
      style={{
        width: "100%",
        height: "100%",
        ...style
      }}
    >
      {children}
    </div>
  );
};
