import RcFooter, { FooterProps as RcProps } from 'rc-footer'; import { type FC } from 'react'; import { useStyles } from './style'; export interface FooterProps { columns: RcProps['columns']; bottom?: RcProps['bottom']; theme?: RcProps['theme']; } const Footer: FC = ({ columns, bottom, theme }) => { const isEmpty = !columns || columns?.length === 0; const { styles } = useStyles(isEmpty); return (
); }; export default Footer;