helptext for string commands

This commit is contained in:
MichaelDvP
2022-01-24 18:02:57 +01:00
parent ab34f7c056
commit cd2ea1d5fc
3 changed files with 7 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ import {
DialogActions,
MenuItem,
InputAdornment,
FormHelperText,
IconButton,
List,
ListItem,
@@ -248,6 +249,9 @@ const DashboardData: FC = () => {
}}
/>
)}
{deviceValue.h && (
<FormHelperText>{deviceValue.h}</FormHelperText>
)}
</DialogContent>
<DialogActions>
<Button

View File

@@ -131,6 +131,7 @@ export interface DeviceValue {
n: string; // name
c: string; // command
l: string[]; // list
h?: string; // help text
}
export interface DeviceData {