PasswordTestCase.js — react Source File
Architecture documentation for PasswordTestCase.js, a javascript file in the react codebase. 3 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 550cdcf0_f489_fb75_cfef_d5d1948eb629["PasswordTestCase.js"] bc8ae172_cc20_3692_943c_bbdb1ad34855["Fixture.js"] 550cdcf0_f489_fb75_cfef_d5d1948eb629 --> bc8ae172_cc20_3692_943c_bbdb1ad34855 2851624d_a736_f3f6_2132_5a20630983fe["Fixture"] 550cdcf0_f489_fb75_cfef_d5d1948eb629 --> 2851624d_a736_f3f6_2132_5a20630983fe a3aeab4c_4f93_b8d8_01c2_7a351a28a3fb["Fixture"] 550cdcf0_f489_fb75_cfef_d5d1948eb629 --> a3aeab4c_4f93_b8d8_01c2_7a351a28a3fb b5c3d1b0_d883_f450_c611_6b19471cfed7["index.js"] b5c3d1b0_d883_f450_c611_6b19471cfed7 --> 550cdcf0_f489_fb75_cfef_d5d1948eb629 style 550cdcf0_f489_fb75_cfef_d5d1948eb629 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import Fixture from '../../Fixture';
const React = window.React;
class PasswordTestCase 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="password"
value={this.state.value}
onChange={this.onChange}
/>
<span className="hint">
{' '}
Value: {JSON.stringify(this.state.value)}
</span>
</fieldset>
<fieldset>
<legend>Uncontrolled</legend>
<input type="password" defaultValue="" />
</fieldset>
</div>
</Fixture>
);
}
}
export default PasswordTestCase;
Domain
Subdomains
Classes
Dependencies
Source
Frequently Asked Questions
What does PasswordTestCase.js do?
PasswordTestCase.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Entrypoint subdomain.
What does PasswordTestCase.js depend on?
PasswordTestCase.js imports 3 module(s): Fixture, Fixture, Fixture.js.
What files import PasswordTestCase.js?
PasswordTestCase.js is imported by 1 file(s): index.js.
Where is PasswordTestCase.js in the architecture?
PasswordTestCase.js is located at fixtures/dom/src/components/fixtures/password-inputs/PasswordTestCase.js (domain: BabelCompiler, subdomain: Entrypoint, directory: fixtures/dom/src/components/fixtures/password-inputs).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free