MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / EntityContainer

Function EntityContainer

src/components/entity-components.tsx:90–108  ·  view source on GitHub ↗
({
  children,
  header,
  search,
  pagination,
}: EntityContainerProps)

Source from the content-addressed store, hash-verified

88};
89
90export 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
110interface EntitySearchProps {
111 value: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected