Home / File/ Skeleton.js — react Source File

Skeleton.js — react Source File

Architecture documentation for Skeleton.js, a javascript file in the react codebase. 2 imports, 2 dependents.

File javascript BabelCompiler Validation 2 imports 2 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  cca513cc_90f4_6a92_3258_2ffeb3fbe572["Skeleton.js"]
  f08cecd6_6212_ab92_eeef_9becd941c921["Skeleton.css"]
  cca513cc_90f4_6a92_3258_2ffeb3fbe572 --> f08cecd6_6212_ab92_eeef_9becd941c921
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  cca513cc_90f4_6a92_3258_2ffeb3fbe572 --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  50c39210_7831_dde4_3a12_fc8ea644bc38["InspectedElementSourcePanel.js"]
  50c39210_7831_dde4_3a12_fc8ea644bc38 --> cca513cc_90f4_6a92_3258_2ffeb3fbe572
  d09ae4bb_9ed0_3257_c11b_1c199408288d["InspectedElementView.js"]
  d09ae4bb_9ed0_3257_c11b_1c199408288d --> cca513cc_90f4_6a92_3258_2ffeb3fbe572
  style cca513cc_90f4_6a92_3258_2ffeb3fbe572 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow
 */

import * as React from 'react';

import styles from './Skeleton.css';

type Props = {
  height: number | string,
  width: number | string,
};

function Skeleton({height, width}: Props): React.Node {
  return <div className={styles.root} style={{height, width}} />;
}

export default Skeleton;

Domain

Subdomains

Functions

Dependencies

Frequently Asked Questions

What does Skeleton.js do?
Skeleton.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Validation subdomain.
What functions are defined in Skeleton.js?
Skeleton.js defines 1 function(s): Skeleton.
What does Skeleton.js depend on?
Skeleton.js imports 2 module(s): Skeleton.css, react.
What files import Skeleton.js?
Skeleton.js is imported by 2 file(s): InspectedElementSourcePanel.js, InspectedElementView.js.
Where is Skeleton.js in the architecture?
Skeleton.js is located at packages/react-devtools-shared/src/devtools/views/Components/Skeleton.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-devtools-shared/src/devtools/views/Components).

Analyze Your Own Codebase

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

Try Supermodel Free