Wie center-Schaltfläche im material-ui

Konnte ich nicht herausfinden, wie man center-Tasten in material-ui. Dies ist der code den ich habe:

function BigCard(props) {
    const { classes } = props;
    return (
    <div>
        <Card className={classes.card}>
        <CardContent>
            <Typography variant="display1" className={classes.title}>
            Start Funding!
            </Typography>
        </CardContent>
        <CardActions >
            <Button size="small" color="primary" className={classes.actions}>
            Share
            </Button>
            <Button size="small" color="primary">
            Learn More
            </Button>
        </CardActions>
      </Card>
    </div>
  );

How can I center my button?

  • Hinzufügen von code als text anstatt von Bildern. Auch, versuchen Sie, fügen Sie eine minimale nachweisbare Beispiel: stackoverflow.com/help/mcve
InformationsquelleAutor shirleyc40 | 2018-06-24
Schreibe einen Kommentar