Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional features to destination listing cards #327

Merged
merged 3 commits into from
Sep 4, 2017

Conversation

rdjpalmer
Copy link
Contributor

Destination listing cards now supports favouriting; each card has a HeartBtn component in the top left hand side, which indicates whether or not that space is a favourite or not. It also accepts a onFavouriteClick method to allow toggling of this property.

It also increases the component's flexibility by allowing the user to add additional content or actions etc. in the form of children

Richard Palmer added 2 commits September 1, 2017 15:05
Destination listing card now accepts children, allowing the
addition of actions and other information to them
@NGMarmaduke NGMarmaduke temporarily deployed to bloom-storybook-pr-327 September 1, 2017 14:31 Inactive
@rdjpalmer rdjpalmer added the draft label Sep 1, 2017
@NGMarmaduke NGMarmaduke temporarily deployed to bloom-storybook-pr-327 September 4, 2017 08:50 Inactive
@rdjpalmer rdjpalmer removed the draft label Sep 4, 2017
Adds the `<HeartBtn />` component to the destination listing cards
in order to demonstrate whether or not it is a favourite or not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants