Home / Class/ EmailDisabledAttributesTestCase Class — react Architecture

EmailDisabledAttributesTestCase Class — react Architecture

Architecture documentation for the EmailDisabledAttributesTestCase class in EmailDisabledAttributesTestCase.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  3904d5f7_fa5d_aea1_ab42_b06c25eebef8["EmailDisabledAttributesTestCase"]
  eec899de_815c_f6c8_c040_9d5b80274a87["EmailDisabledAttributesTestCase.js"]
  3904d5f7_fa5d_aea1_ab42_b06c25eebef8 -->|defined in| eec899de_815c_f6c8_c040_9d5b80274a87
  9fd77583_a697_f381_da2e_1efea9b2b1d4["render()"]
  3904d5f7_fa5d_aea1_ab42_b06c25eebef8 -->|method| 9fd77583_a697_f381_da2e_1efea9b2b1d4

Relationship Graph

Source Code

fixtures/dom/src/components/fixtures/email-inputs/EmailDisabledAttributesTestCase.js lines 5–37

class EmailDisabledAttributesTestCase extends React.Component {
  state = {value: 'a@fb.com'};
  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>
    );
  }
}

Domain

Frequently Asked Questions

What is the EmailDisabledAttributesTestCase class?
EmailDisabledAttributesTestCase is a class in the react codebase, defined in fixtures/dom/src/components/fixtures/email-inputs/EmailDisabledAttributesTestCase.js.
Where is EmailDisabledAttributesTestCase defined?
EmailDisabledAttributesTestCase is defined in fixtures/dom/src/components/fixtures/email-inputs/EmailDisabledAttributesTestCase.js at line 5.

Analyze Your Own Codebase

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

Try Supermodel Free