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

Added null as acceptable icon for EuiCard #3470

Merged
merged 7 commits into from
May 13, 2020
Merged

Conversation

anishagg17
Copy link
Contributor

@anishagg17 anishagg17 commented May 13, 2020

Summary

Fixes : #3459

Added null as acceptable type to icon for EuiCardProps

Checklist

- [ ] Check against all themes for compatibility in both light and dark modes
- [ ] Checked in mobile
- [ ] Checked in IE11 and Firefox
- [ ] Props have proper autodocs
- [ ] Added documentation examples

  • Added or updated jest tests
    - [ ] Checked for breaking changes and labeled appropriately
    - [ ] Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@anishagg17 anishagg17 changed the title added null as acceptable children for EuiCard Added null as acceptable children for EuiCard May 13, 2020
@cchaos
Copy link
Contributor

cchaos commented May 13, 2020

Hey @anishagg17 , the actual issue was surrounding the icon prop, not the children can you update this PR so it addresses the icon prop?

@anishagg17
Copy link
Contributor Author

I have modified it

@anishagg17 anishagg17 changed the title Added null as acceptable children for EuiCard Added null as acceptable icon for EuiCard May 13, 2020
Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Don't forget to also update the PR summary description. Just a couple minor issues

CHANGELOG.md Outdated Show resolved Hide resolved
src/components/card/card.tsx Outdated Show resolved Hide resolved
@cchaos
Copy link
Contributor

cchaos commented May 13, 2020

Jenkins test this

anishagg17 and others added 2 commits May 13, 2020 21:36
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3470/

@cchaos
Copy link
Contributor

cchaos commented May 13, 2020

retest

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3470/

Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

@cchaos cchaos merged commit eab1f14 into elastic:master May 13, 2020
@anishagg17 anishagg17 deleted the null branch May 13, 2020 22:02
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.

Card icon property does not take type null
3 participants