Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
721 B
1
Indexable
Never
import Grid from '@mui/material/Grid';


                <Grid container spacing={2}>
                    <Grid item xs={6} style={{ textAlign: 'center' }}>
                        <FormControl style={{ width: '70%' }}>
                            <Button variant="contained" onClick={() => setAdd(true)}>Add New</Button>
                        </FormControl>
                    </Grid>
                    <Grid item xs={6} style={{ textAlign: 'center' }}>
                        <FormControl style={{ width: '70%' }}>
                            <Button variant="contained" onClick={() => handleSyncAll()}>Update All</Button>
                        </FormControl>
                    </Grid>
                </Grid>