Home / File/ WithNewlines.jsx — astro Source File

WithNewlines.jsx — astro Source File

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

Entity Profile

Dependency Diagram

graph LR
  532226a9_0b90_2de3_d8ff_e2d4e9e29932["WithNewlines.jsx"]
  5458ee59_7908_bf35_f257_ad630e4e60d7["solid-js"]
  532226a9_0b90_2de3_d8ff_e2d4e9e29932 --> 5458ee59_7908_bf35_f257_ad630e4e60d7
  style 532226a9_0b90_2de3_d8ff_e2d4e9e29932 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// Test introduced to ensure JSX is correctly transformed
// See https://github.com/withastro/astro/issues/3371
import { createSignal } from 'solid-js';

export default function WithNewlines() {
  const [count] = createSignal(0);

  return (
    <>
      <div class="multiline
			
			css-classes">Hello world - {count}</div>
    </>
  );
}

Subdomains

Functions

Dependencies

  • solid-js

Frequently Asked Questions

What does WithNewlines.jsx do?
WithNewlines.jsx is a source file in the astro codebase, written in javascript. It belongs to the IntegrationAdapters domain, ReactIntegration subdomain.
What functions are defined in WithNewlines.jsx?
WithNewlines.jsx defines 1 function(s): WithNewlines.
What does WithNewlines.jsx depend on?
WithNewlines.jsx imports 1 module(s): solid-js.
Where is WithNewlines.jsx in the architecture?
WithNewlines.jsx is located at packages/astro/test/fixtures/solid-component/src/components/WithNewlines.jsx (domain: IntegrationAdapters, subdomain: ReactIntegration, directory: packages/astro/test/fixtures/solid-component/src/components).

Analyze Your Own Codebase

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

Try Supermodel Free