import BlockView from "./BlockView";
import { BlockProps } from "./types";
import { useEffectiveStyle } from "../../utils/useEffectiveStyle";

const Block = (props: BlockProps) => {
  useEffectiveStyle(props.widgetStyle);
  return <BlockView {...props} />;
};

export default Block;
