Develop a user interface component for creating new product tour items. This task involves splitting the interface into smaller, reusable components and integrating them into the overall design. Use example as guidance , fill free to change all necessary props and names. Integrate it with our existing components (button etc.)
Requirements:
Integrate ProductTour page.
Product Page has to be available if click on left menu sdiebar.
The main interface should be split into the following components:
[x] TourList Component
Props:
items: Array of objects containing title and timestamp.
Develop a user interface component for creating new product tour items. This task involves splitting the interface into smaller, reusable components and integrating them into the overall design. Use example as guidance , fill free to change all necessary props and names. Integrate it with our existing components (button etc.)
Requirements:
Integrate
ProductTour
page.Product Page has to be available if click on left menu sdiebar.
The main interface should be split into the following components:
[x] TourList Component
items
: Array of objects containingtitle
andtimestamp
.onSelectItem
: Function to handle item selection.[x] TourListItem Component
title
: String representing the tour title.timestamp
: String representing the time of the tour.[x] ContentArea Component
children
: React nodes to be rendered inside the container.[x] ContentHeader Component
title
: String for the content header.[x] TourDescriptionText Component
description
: String for the tour description.[x] InfoTooltip Component
text
: String for the tooltip text.title
: some title text[x] Add Delete Icon to TourListItem Component
onDelete
: Function to handle the delete action.[x] Add Settings Icon to TourListItem Component
onEdit
: Function to handle the edit action.[x] Implement Confirmation Popup Component
open
: Boolean to control the visibility of the popup.onConfirm
: Function to handle the confirmation action.onCancel
: Function to handle the cancellation action.The delete and settings icons should be Material-UI
IconButton
components with appropriate icons.The confirmation popup should be a Material-UI
Dialog
component.All new functionality should be fully responsive and accessible.
Implementation Details:
ProductTour
page, ensuring they work together smoothly.