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

Allow header/footer to take close and update .d.ts #813

Merged
merged 2 commits into from Apr 30, 2020

Conversation

colinking
Copy link
Contributor

@colinking colinking commented Apr 30, 2020

Overview

This is a follow-up to #746 which adds TypeScript definitions and expands the acceptable types for header and footer to include a function that accepts a close parameter, which allows custom headers and footers to close the Dialog.

Screenshots (if applicable)

Confirmed locally with yarn link against an internal Segment service.

Testing

  • Updated Typescript types and/or component PropTypes
  • Added / modified component docs
  • Added / modified Storybook stories

@colinking colinking marked this pull request as ready for review April 30, 2020 23:04
@colinking colinking merged commit 39440bb into master Apr 30, 2020
@colinking colinking deleted the colin/fix-dialog branch April 30, 2020 23:12
Copy link
Contributor

@mshwery mshwery left a comment

Choose a reason for hiding this comment

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

lgtm :)

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