Home / File/ WithChildren.jsx — astro Source File

WithChildren.jsx — astro Source File

Architecture documentation for WithChildren.jsx, a javascript file in the astro codebase. 1 imports, 0 dependents.

File javascript 1 imports

Entity Profile

Dependency Diagram

graph LR
  271f7bc8_8357_12fd_40fe_07b251eadcde["WithChildren.jsx"]
  d9988dd0_c044_f9d2_85cd_a31a0a2bdf80["react"]
  271f7bc8_8357_12fd_40fe_07b251eadcde --> d9988dd0_c044_f9d2_85cd_a31a0a2bdf80
  style 271f7bc8_8357_12fd_40fe_07b251eadcde fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import React from 'react';

export default function ({ id, children }) {
	return (
		<div id={id}>
			<div className="with-children">{children}</div>
			<div className="with-children-count">{children.length}</div>
		</div>
	);
}

Dependencies

  • react

Frequently Asked Questions

What does WithChildren.jsx do?
WithChildren.jsx is a source file in the astro codebase, written in javascript.
What does WithChildren.jsx depend on?
WithChildren.jsx imports 1 module(s): react.
Where is WithChildren.jsx in the architecture?
WithChildren.jsx is located at packages/integrations/react/test/fixtures/react-component/src/components/WithChildren.jsx (directory: packages/integrations/react/test/fixtures/react-component/src/components).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free