({
children,
header,
search,
pagination,
}: EntityContainerProps)
| 88 | }; |
| 89 | |
| 90 | export const EntityContainer = ({ |
| 91 | children, |
| 92 | header, |
| 93 | search, |
| 94 | pagination, |
| 95 | }: EntityContainerProps) => { |
| 96 | return ( |
| 97 | <div className="p-4 md:px-10 md:py-6 h-full"> |
| 98 | <div className="mx-auto max-w-screen-xl w-full flex flex-col gap-y-8 h-full"> |
| 99 | {header} |
| 100 | <div className="flex flex-col gap-y-4 h-full"> |
| 101 | {search} |
| 102 | {children} |
| 103 | </div> |
| 104 | {pagination} |
| 105 | </div> |
| 106 | </div> |
| 107 | ) |
| 108 | }; |
| 109 | |
| 110 | interface EntitySearchProps { |
| 111 | value: string; |
nothing calls this directly
no outgoing calls
no test coverage detected