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