I'm using this code in MUI for drawing Card.
<Card {...props}>
<CardHeader title="test" style={{ textAlign: 'center' }} />
<Divider />
<CardContent>
<Doughnut data={data} options={options} />
</CardContent>
</Card>
But sometimes, the data value can be empty, and the card will be blank. Who can help me, how can I set the default value of the Card if the data is empty? Like NoRowsOverlay on DataGrid