|
|
@ -1,8 +1,8 @@ |
|
|
|
import { makeStyles } from '@material-ui/core/styles'; |
|
|
|
import { makeStyles } from '@material-ui/core/styles'; |
|
|
|
import { ClassNameMap } from '@material-ui/styles'; |
|
|
|
import { ClassNameMap } from '@material-ui/styles'; |
|
|
|
import { List, Box, Divider, ListItem } from '@material-ui/core'; |
|
|
|
import { List, Box, Divider, ListItem } from '@material-ui/core'; |
|
|
|
import { BodyText } from '../Text'; |
|
|
|
|
|
|
|
import { BLUE, PURPLE_OFF, RED_ON, TEXT } from '../../lib/consts/DEFAULT_THEME'; |
|
|
|
import { BLUE, PURPLE_OFF, RED_ON, TEXT } from '../../lib/consts/DEFAULT_THEME'; |
|
|
|
|
|
|
|
import Anvil from './Anvil'; |
|
|
|
|
|
|
|
|
|
|
|
const useStyles = makeStyles(() => ({ |
|
|
|
const useStyles = makeStyles(() => ({ |
|
|
|
root: { |
|
|
|
root: { |
|
|
@ -73,8 +73,7 @@ const AnvilList = ({ list }: { list: AnvilListItem[] }): JSX.Element => { |
|
|
|
/> |
|
|
|
/> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
<Box p={1} flexGrow={1} className={classes.anvil}> |
|
|
|
<Box p={1} flexGrow={1} className={classes.anvil}> |
|
|
|
<BodyText text={anvil?.anvil_name} /> |
|
|
|
<Anvil anvil={anvil} /> |
|
|
|
<BodyText text={anvil?.anvil_state || 'State unavailable'} /> |
|
|
|
|
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
</ListItem> |
|
|
|
</ListItem> |
|
|
|