/** @license MIT | @cube-dev/ui-kit v0.123.0 | Cube Dev Team */
import { extractStyles } from "../utils/styles.js";
import { CONTAINER_STYLES, filterBaseProps, tasty } from "@tenphi/tasty";
import { forwardRef } from "react";
import { jsx } from "react/jsx-runtime";

//#region src/components/Block.tsx
const BlockElement = tasty({ styles: { display: "block" } });
const Block = forwardRef(function Block(props, ref) {
	const styles = extractStyles(props, CONTAINER_STYLES);
	return /* @__PURE__ */ jsx(BlockElement, {
		...filterBaseProps(props, { eventProps: true }),
		ref,
		styles
	});
});

//#endregion
export { Block };
//# sourceMappingURL=Block.js.map