EmailDisabledAttributesTestCase.js — react Source File
Architecture documentation for EmailDisabledAttributesTestCase.js, a javascript file in the react codebase. 3 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR eec899de_815c_f6c8_c040_9d5b80274a87["EmailDisabledAttributesTestCase.js"] bc8ae172_cc20_3692_943c_bbdb1ad34855["Fixture.js"] eec899de_815c_f6c8_c040_9d5b80274a87 --> bc8ae172_cc20_3692_943c_bbdb1ad34855 2851624d_a736_f3f6_2132_5a20630983fe["Fixture"] eec899de_815c_f6c8_c040_9d5b80274a87 --> 2851624d_a736_f3f6_2132_5a20630983fe a3aeab4c_4f93_b8d8_01c2_7a351a28a3fb["Fixture"] eec899de_815c_f6c8_c040_9d5b80274a87 --> a3aeab4c_4f93_b8d8_01c2_7a351a28a3fb b8eeb77a_628d_0cf7_3055_29d4041e74be["index.js"] b8eeb77a_628d_0cf7_3055_29d4041e74be --> eec899de_815c_f6c8_c040_9d5b80274a87 style eec899de_815c_f6c8_c040_9d5b80274a87 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import Fixture from '../../Fixture';
const React = window.React;
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>
);
}
}
export default EmailDisabledAttributesTestCase;
Domain
Subdomains
Classes
Dependencies
Source
Frequently Asked Questions
What does EmailDisabledAttributesTestCase.js do?
EmailDisabledAttributesTestCase.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Optimization subdomain.
What does EmailDisabledAttributesTestCase.js depend on?
EmailDisabledAttributesTestCase.js imports 3 module(s): Fixture, Fixture, Fixture.js.
What files import EmailDisabledAttributesTestCase.js?
EmailDisabledAttributesTestCase.js is imported by 1 file(s): index.js.
Where is EmailDisabledAttributesTestCase.js in the architecture?
EmailDisabledAttributesTestCase.js is located at fixtures/dom/src/components/fixtures/email-inputs/EmailDisabledAttributesTestCase.js (domain: BabelCompiler, subdomain: Optimization, 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