v1.0 with SW PWA enabled

This commit is contained in:
Blomios
2026-01-01 17:40:53 +01:00
parent 1c0e22aac1
commit 3c8bebb2ad
29775 changed files with 2197201 additions and 119080 deletions

View File

@ -0,0 +1,23 @@
import { useDayPicker } from 'contexts/DayPicker';
export interface FooterProps {
/** The month where the footer is displayed. */
displayMonth?: Date;
}
/** Render the Footer component (empty as default).*/
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export function Footer(props: FooterProps): JSX.Element {
const {
footer,
styles,
classNames: { tfoot }
} = useDayPicker();
if (!footer) return <></>;
return (
<tfoot className={tfoot} style={styles.tfoot}>
<tr>
<td colSpan={8}>{footer}</td>
</tr>
</tfoot>
);
}