diff --git a/src/components/LocationLabel/index.js b/src/components/LocationLabel/index.js new file mode 100644 index 0000000..db9f976 --- /dev/null +++ b/src/components/LocationLabel/index.js @@ -0,0 +1,92 @@ +// import Box from '@mui/material/Box'; +import { makeStyles } from '@mui/styles'; +import PropTypes from 'prop-types'; +import MDBox from 'components/MDBox'; +import MDTypography from 'components/MDTypography'; + +const useStyles = makeStyles({ + bind: { + display: 'flex' + }, + size: { + fontSize: '12px', + textTransform: 'uppercase', + textAlign: 'center', + marginRight: '15px' + }, + sizePos: { + fontSize: '12px', + textTransform: 'uppercase', + textAlign: 'center' + } +}); + +function LocationLabel({ area, row, bay, level, position }) { + const classes = useStyles(); + return ( + background.default, + padding: '32px 40px' + }} + > + +
+
+ + Area + + + {area}- + +
+
+ + Row + + + {row}- + +
+
+ + Bay + + + {bay}- + +
+
+ + Level + + + {level}- + +
+
+ + Pos + + + {position} + +
+
+
+
+ ); +} + +LocationLabel.propTypes = { + area: PropTypes.string.isRequired, + row: PropTypes.string.isRequired, + bay: PropTypes.string.isRequired, + level: PropTypes.string.isRequired, + position: PropTypes.string.isRequired +}; + +export default LocationLabel;