docs: move edit date to footer (#11667)
* docs: move edit date to footer * fix build error
This commit is contained in:
@@ -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}
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user