You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
337 B
14 lines
337 B
4 years ago
|
import { Grid } from '@material-ui/core';
|
||
|
import { BodyText } from '../Text';
|
||
|
|
||
|
const Anvil = ({ anvil }: { anvil: AnvilListItem }): JSX.Element => {
|
||
|
return (
|
||
|
<Grid item xs={12}>
|
||
|
<BodyText text={anvil.anvil_name} />
|
||
|
<BodyText text={anvil.anvil_state || 'State unavailable'} />
|
||
|
</Grid>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default Anvil;
|