hover-box.js — react Source File
Architecture documentation for hover-box.js, a javascript file in the react codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR f3324925_dc09_1a9b_424a_455190eb7f99["hover-box.js"] 2ca2eb4e_6de0_5f62_cf94_d2d19df563a9["hover.js"] 2ca2eb4e_6de0_5f62_cf94_d2d19df563a9 --> f3324925_dc09_1a9b_424a_455190eb7f99 style f3324925_dc09_1a9b_424a_455190eb7f99 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
const React = window.React;
class DrawBox extends React.Component {
render() {
const boxStyle = {
border: '1px solid #d9d9d9',
margin: '10px 0 20px',
padding: '20px 20px',
touchAction: 'none',
};
const obstacleStyle = {
border: '1px solid #d9d9d9',
width: '25%',
height: '200px',
margin: '12.5%',
display: 'inline-block',
};
return (
<div
style={boxStyle}
onPointerOver={this.props.onOver}
onPointerOut={this.props.onOut}
onPointerEnter={this.props.onEnter}
onPointerLeave={this.props.onLeave}>
<div style={obstacleStyle} />
<div style={obstacleStyle} />
</div>
);
}
}
export default DrawBox;
Domain
Subdomains
Classes
Source
Frequently Asked Questions
What does hover-box.js do?
hover-box.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Entrypoint subdomain.
What files import hover-box.js?
hover-box.js is imported by 1 file(s): hover.js.
Where is hover-box.js in the architecture?
hover-box.js is located at fixtures/dom/src/components/fixtures/pointer-events/hover-box.js (domain: BabelCompiler, subdomain: Entrypoint, directory: fixtures/dom/src/components/fixtures/pointer-events).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free