/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-e634e55 | Cube Dev Team */
import { extractStyles } from "../tasty/utils/styles.js";
import { CONTAINER_STYLES } from "../tasty/styles/list.js";
import { tasty } from "../tasty/tasty.js";
import { filterBaseProps } from "../tasty/utils/filter-base-props.js";
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