-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d8eefe
commit 4edc5a8
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { Box, Typography, Paper } from '@mui/material'; | ||
import { FaInfoCircle } from 'react-icons/fa'; | ||
|
||
const InfoBox = () => { | ||
return ( | ||
<Paper elevation={3} sx={{ p: 3, mb: 4 }}> | ||
<Box sx={{ display: 'flex', alignItems: 'center' }}> | ||
<FaInfoCircle size={24} color="#3f51b5" /> | ||
<Typography variant="h6" sx={{ ml: 2 }}> | ||
How to Add Products | ||
</Typography> | ||
</Box> | ||
<Typography variant="body1" sx={{ mt: 2 }}> | ||
Use the webcam or upload a picture to detect the product. Ensure the object is in good lighting for better accuracy. The system will identify the product and suggest a default quantity. | ||
</Typography> | ||
</Paper> | ||
); | ||
}; | ||
|
||
export default InfoBox; |