MCPcopy
hub / github.com/dabbott/react-native-express / normalizeNode

Function normalizeNode

components/FileTreeDiagram.tsx:9–10  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

7}
8
9const normalizeNode = (node: Node) =>
10 typeof node === 'string' ? { name: node } : node
11
12interface Props {
13 children: () => Node

Callers 1

FileTreeDiagramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected