f2e0165d5f
* Switch to withInstanceId higher order component * Add checkboxes to the rows in a TableCard, if a compareBy prop is set * Add Compare button to update query param * Populate the selected rows from the query parameter * Update compare filter display & selected table rows when the query changes * Skip displaying tags if the label is null/undefined * Style table header with compare button, search placeholder * Prevent setting just an ID list as the state, as this will wipe out already-fetched tag labels * Update docs * Shortcut out of fetching tag labels if the query is empty |
||
---|---|---|
.. | ||
test | ||
README.md | ||
index.js | ||
style.scss |
README.md
Card
A basic card component with a header. The header can contain a title (required), an action (optional), and an EllipsisMenu
menu (optional).
How to use:
import Card from 'components/card';
render: function() {
return (
<Card title={ "Store Performance" }>
<p>Your stuff in a Card</p>
</Card>
);
}
Props
title
(required): The title to use for this card.action
: One "primary" action for this card, appears in the card headerclassName
: You can add classes to the card container.menu
: An EllipsisMenu, with filters used to control the content visible in this card