/**
 * @license MIT
 * author: Cube Dev Team
 * @cube-dev/ui-kit v0.0.0-canary-c7e2378
 * Released under the MIT license.
 */

import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from 'react';
import { CONTAINER_STYLES, extractStyles, filterBaseProps, tasty, TEXT_STYLES, } from '../../tasty/index.js';
import { useSlotProps } from '../../utils/react/index.js';
const STYLE_LIST = [...CONTAINER_STYLES, ...TEXT_STYLES];
const FooterElement = tasty({
    qa: 'Footer',
    'data-id': 'Footer',
    styles: {
        gridArea: 'footer',
        display: 'block',
        flow: 'column',
    },
});
export const Footer = forwardRef(function Footer(props, ref) {
    props = useSlotProps(props, 'footer');
    const styles = extractStyles(props, STYLE_LIST);
    return (_jsx(FooterElement, { ...filterBaseProps(props, { eventProps: true }), ref: ref, styles: styles }));
});

        