NumberInputDecimal.js — react Source File
Architecture documentation for NumberInputDecimal.js, a javascript file in the react codebase. 3 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 97976e93_b2ce_07f3_01b5_9261b9ac0665["NumberInputDecimal.js"] bc8ae172_cc20_3692_943c_bbdb1ad34855["Fixture.js"] 97976e93_b2ce_07f3_01b5_9261b9ac0665 --> bc8ae172_cc20_3692_943c_bbdb1ad34855 2851624d_a736_f3f6_2132_5a20630983fe["Fixture"] 97976e93_b2ce_07f3_01b5_9261b9ac0665 --> 2851624d_a736_f3f6_2132_5a20630983fe a3aeab4c_4f93_b8d8_01c2_7a351a28a3fb["Fixture"] 97976e93_b2ce_07f3_01b5_9261b9ac0665 --> a3aeab4c_4f93_b8d8_01c2_7a351a28a3fb afbc8624_2e32_1a11_05f6_ca9cd5dde99a["index.js"] afbc8624_2e32_1a11_05f6_ca9cd5dde99a --> 97976e93_b2ce_07f3_01b5_9261b9ac0665 style 97976e93_b2ce_07f3_01b5_9261b9ac0665 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import Fixture from '../../Fixture';
const React = window.React;
class NumberInputDecimal extends React.Component {
state = {value: '.98'};
changeValue = () => {
this.setState({
value: '0.98',
});
};
render() {
const {value} = this.state;
return (
<Fixture>
<div>{this.props.children}</div>
<div className="control-box">
<input
type="number"
value={value}
onChange={e => {
this.setState({value: e.target.value});
}}
/>
<button onClick={this.changeValue}>change.98 to 0.98</button>
</div>
</Fixture>
);
}
}
export default NumberInputDecimal;
Domain
Subdomains
Classes
Dependencies
Source
Frequently Asked Questions
What does NumberInputDecimal.js do?
NumberInputDecimal.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Entrypoint subdomain.
What does NumberInputDecimal.js depend on?
NumberInputDecimal.js imports 3 module(s): Fixture, Fixture, Fixture.js.
What files import NumberInputDecimal.js?
NumberInputDecimal.js is imported by 1 file(s): index.js.
Where is NumberInputDecimal.js in the architecture?
NumberInputDecimal.js is located at fixtures/dom/src/components/fixtures/number-inputs/NumberInputDecimal.js (domain: BabelCompiler, subdomain: Entrypoint, directory: fixtures/dom/src/components/fixtures/number-inputs).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free