import * as React from 'react'; import { classNames } from '@vkontakte/vkjs'; import type { HasComponent } from '../../types'; import { Footnote } from '../Typography/Footnote/Footnote'; import styles from './Footer.module.css'; export type FooterProps = React.AllHTMLAttributes & HasComponent; /** * @see https://vkui.io/components/group#footer */ export const Footer = ({ children, className, Component = 'footer', role: roleProp, ...restProps }: FooterProps): React.ReactNode => { const role = roleProp ?? (Component === 'footer' ? 'contentinfo' : undefined); return ( {children} ); };