Shift3 / boilerplate-client-react

The Bitwise standard starting point for new React web projects.
7 stars 10 forks source link

Modifies <NoContent /> to be more usable. #657

Closed DropsOfSerenity closed 2 years ago

DropsOfSerenity commented 2 years ago

NoContent before was hardly more than a style wrapper. This modifies it to fit it's actual purpose more precisely, which is to display a no content block for places in the application where there is no content to display.

Users can use the extra prop to display whatever other things they want in the no content block, such as buttons, forms, etc.