| MenuProps={{ | MenuProps={{ | ||||
| disableScrollLock: true, | disableScrollLock: true, | ||||
| }} | }} | ||||
| label={t('products:tpe')} | |||||
| label={t('products:type')} | |||||
| labelId="product-type-label" | labelId="product-type-label" | ||||
| id="product-type-label" | id="product-type-label" | ||||
| value={productType} | value={productType} |
| onChange={handleSortChange} | onChange={handleSortChange} | ||||
| > | > | ||||
| <MenuItem value="asc">{t('products:asc')}</MenuItem> | <MenuItem value="asc">{t('products:asc')}</MenuItem> | ||||
| <MenuItem value="desc">{t('products:desx')}</MenuItem> | |||||
| <MenuItem value="desc">{t('products:desc')}</MenuItem> | |||||
| </Select> | </Select> | ||||
| </FormControl> | </FormControl> | ||||
| </> | </> |
| "type": "Product Type", | "type": "Product Type", | ||||
| "all": "All", | "all": "All", | ||||
| "coffee": "Coffee", | "coffee": "Coffee", | ||||
| "mug": "mug", | |||||
| "mug": "Mug", | |||||
| "loading": "Loading...", | "loading": "Loading...", | ||||
| "more": "Load More", | "more": "Load More", | ||||
| "end": "Nothing more to load", | "end": "Nothing more to load", |