Home / File/ JumpingCursorTestCase.js — react Source File

JumpingCursorTestCase.js — react Source File

Architecture documentation for JumpingCursorTestCase.js, a javascript file in the react codebase. 3 imports, 1 dependents.

File javascript CompilerCore Gating 3 imports 1 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  379d5a65_3e39_2528_fd1b_30539c194925["JumpingCursorTestCase.js"]
  8ab29f36_08c6_6429_f6fb_7d710ac03540["Fixture.js"]
  379d5a65_3e39_2528_fd1b_30539c194925 --> 8ab29f36_08c6_6429_f6fb_7d710ac03540
  945fe542_a899_e4f9_9807_0ee3866ee834["Fixture"]
  379d5a65_3e39_2528_fd1b_30539c194925 --> 945fe542_a899_e4f9_9807_0ee3866ee834
  16015c72_7717_dbd6_6443_44f20a97a78e["Fixture"]
  379d5a65_3e39_2528_fd1b_30539c194925 --> 16015c72_7717_dbd6_6443_44f20a97a78e
  9e8d15ef_fa2a_90fd_2532_973e944ed084["index.js"]
  9e8d15ef_fa2a_90fd_2532_973e944ed084 --> 379d5a65_3e39_2528_fd1b_30539c194925
  style 379d5a65_3e39_2528_fd1b_30539c194925 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import Fixture from '../../Fixture';

const React = window.React;

class JumpingCursorTestCase extends React.Component {
  state = {value: ''};
  onChange = event => {
    this.setState({value: event.target.value});
  };
  render() {
    return (
      <Fixture>
        <div>{this.props.children}</div>

        <div className="control-box">
          <fieldset>
            <legend>Controlled</legend>
            <input
              type="email"
              value={this.state.value}
              onChange={this.onChange}
            />
            <span className="hint">
              {' '}
              Value: {JSON.stringify(this.state.value)}
            </span>
          </fieldset>

          <fieldset>
            <legend>Uncontrolled</legend>
            <input type="email" defaultValue="" />
          </fieldset>
        </div>
      </Fixture>
    );
  }
}

export default JumpingCursorTestCase;

Domain

Subdomains

Frequently Asked Questions

What does JumpingCursorTestCase.js do?
JumpingCursorTestCase.js is a source file in the react codebase, written in javascript. It belongs to the CompilerCore domain, Gating subdomain.
What does JumpingCursorTestCase.js depend on?
JumpingCursorTestCase.js imports 3 module(s): Fixture, Fixture, Fixture.js.
What files import JumpingCursorTestCase.js?
JumpingCursorTestCase.js is imported by 1 file(s): index.js.
Where is JumpingCursorTestCase.js in the architecture?
JumpingCursorTestCase.js is located at fixtures/dom/src/components/fixtures/email-inputs/JumpingCursorTestCase.js (domain: CompilerCore, subdomain: Gating, directory: fixtures/dom/src/components/fixtures/email-inputs).

Analyze Your Own Codebase

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

Try Supermodel Free