/Sudhanshu-Smartify-assignment

This project involves building a responsive interface using Material-UI components in React. It includes state management for auto top-up and slider value, logic for slider credits and price display, auto top-up functionality, and styling to match a provided design, focusing on color scheme, spacing, and typography.

Primary LanguageTypeScript

Live Link

Live Link

Description

This project involves building a responsive interface using Material-UI components in React. It includes state management for auto top-up and slider value, logic for slider credits and price display, auto top-up functionality, and styling to match a provided design, focusing on color scheme, spacing, and typography.

Installation

  1. Install Dependencies:

    npm install

  2. Run it locally

    npm start

Usage

This integrated Auto Top-up feature showcases a convenient switch to activate or deactivate auto top-up settings, alongside a slider enabling users to fine-tune the credit amount for automatic purchases. Utilizing React's useState hook, the component adeptly manages its internal state, offering seamless control over auto top-up preferences. Additionally, it provides a contextual API facilitating efficient management of these settings.