Spaces:
Sleeping
Sleeping
File size: 1,063 Bytes
1ad4e76 8765030 1ad4e76 8765030 1ad4e76 8765030 1ad4e76 8765030 1ad4e76 8765030 1ad4e76 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
import { Button, Grid, TextField, Typography } from "@mui/material";
import React from "react";
export default function IntroWordRepresentation({
wordOne,
onChangeWordOne,
onPressButton,
}) {
return (
<>
<Grid container textAlign={"center"} spacing={2}>
<Grid item xs={5}>
<TextField
id="word-one"
label="Word 1"
variant="outlined"
value={wordOne}
onChange={onChangeWordOne}
fullWidth
/>
</Grid>
<Grid item xs={4}>
<Button
variant="contained"
color="primary"
fullWidth
sx={{ height: "100%" }}
onClick={onPressButton}
>
Create Embedding
</Button>
</Grid>
<Grid item xs={3}>
<Typography
variant="h0"
color="#000"
sx={{ borderBottom: "2px solid #000" }}
>
Active Words's List
</Typography>
</Grid>
</Grid>
</>
);
}
|