docs: move edit date to footer (#11667)

* docs: move edit date to footer

* fix build error
This commit is contained in:
Shahed Nasser
2025-02-28 16:27:42 +02:00
committed by GitHub
parent 228b7b608d
commit bf67f69f45
23 changed files with 183 additions and 121 deletions
@@ -0,0 +1,23 @@
import React from "react"
import { Pagination } from "../Pagination"
export type FooterProps = {
editComponent?: React.ReactNode
showPagination?: boolean
feedbackComponent?: React.ReactNode
editDate?: string
}
export const Footer = ({
editComponent,
showPagination,
feedbackComponent,
}: FooterProps) => {
return (
<>
{feedbackComponent}
{showPagination && <Pagination />}
{editComponent}
</>
)
}