How p3drovmarques/door-calculator works
Door Calculator is a small React Native app for estimating steel-door dimensions and material requirements. The user selects sheet type, thickness, and door operation, enters width and height, and taps Calculate. The Home screen validates the dimensions, computes final height, sheet count, area, and weight, then displays the result; the reusable Input component supplies the dimension fields. The calculation logic and UI are combined in the Home screen, so the graph does not imply a separate calculation service. README capability details are included; no external services or persistent storage are documented.
Main entry points: home/index.tsx Door Calculator Screen · App.tsx App Shell · index.ts App Entry · input/index.tsx Dimension Input
Components 6
Door Calculator
- App Entry
index.ts - App Shell
App.tsx - Door Calculator Screen
src/screens/home/index.tsx - Dimension Input
src/components/input/index.tsx - Estimate Results
src/screens/home/index.tsx
Other components
- User
Connections 5
- App Entry → App Shell: registers
- App Shell → Door Calculator Screen: renders
- Door Calculator Screen → Dimension Input: renders fields
- User → Door Calculator Screen: selects and submits
- Door Calculator Screen → Estimate Results: calculates and displays