MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / Section

Function Section

graph-ui/src/impact/ImpactPanel.tsx:139–162  ·  view source on GitHub ↗
(props: {
    name: string;
    title: string;
    empty: string;
    count: number;
    children: JSX.Element | JSX.Element[];
})

Source from the content-addressed store, hash-verified

137}
138
139function Section(props: {
140 name: string;
141 title: string;
142 empty: string;
143 count: number;
144 children: JSX.Element | JSX.Element[];
145}): JSX.Element {
146 return (
147 <section
148 className="atlas-impact-section"
149 data-testid={`atlas-impact-${props.name}`}
150 data-count={props.count}
151 >
152 <span className="atlas-impact-eyebrow">{props.title}</span>
153 {props.count === 0 ? (
154 <p className="atlas-impact-empty" data-testid={`atlas-impact-${props.name}-empty`}>
155 {props.empty}
156 </p>
157 ) : (
158 props.children
159 )}
160 </section>
161 );
162}
163
164export default function ImpactPanel(props: ImpactPanelProps): JSX.Element {
165 const model = props.model;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected