This project was bootstrapped with Create React App.
Create a dynamic form using a frontend framework and TypeScript. Render it based on a provided configuration array and capture user input.
- Use hooks or equivalent, and a state management tool.
- Configurations specify type (e.g., "text", "number", "select"), label, and options (for select types).
- Include a submit button. On submission, display the captured data.
- Ensure a mobile-first, responsive design.
- Employ TypeScript for type definitions and checks.
- Best of luck with the challenge! Showcase your capabilities and thought process. Reach out if you have queries or need clarifications. I'm here to help.
- Run
npm install
- Run
npm start
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.