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

//#region src/components/content/Footer.tsx
const STYLE_LIST = [...CONTAINER_STYLES, ...TEXT_STYLES];
const FooterElement = tasty({
	qa: "Footer",
	"data-id": "Footer",
	styles: {
		gridArea: "footer",
		display: "block",
		flow: "column"
	}
});
const Footer = forwardRef(function Footer(props, ref) {
	props = useSlotProps(props, "footer");
	const styles = extractStyles(props, STYLE_LIST);
	return /* @__PURE__ */ jsx(FooterElement, {
		...filterBaseProps(props, { eventProps: true }),
		ref,
		styles
	});
});

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