MCPcopy Create free account
hub / github.com/AmazingAng/PolyWorld / Section

Function Section

src/components/SidePanel.tsx:143–158  ·  view source on GitHub ↗
({
  title,
  children,
}: {
  title: string;
  children: React.ReactNode;
})

Source from the content-addressed store, hash-verified

141}
142
143function Section({
144 title,
145 children,
146}: {
147 title: string;
148 children: React.ReactNode;
149}) {
150 return (
151 <div className="p-3 border-b border-[#1a1a1a]">
152 <h3 className="text-[13px] font-mono uppercase tracking-[0.15em] text-[#777] mb-2">
153 {title}
154 </h3>
155 {children}
156 </div>
157 );
158}
159
160function EmptyState({ text = "no data" }: { text?: string }) {
161 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected