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

Modal Component #10

Merged
merged 4 commits into from
Mar 13, 2016
Merged

Modal Component #10

merged 4 commits into from
Mar 13, 2016

Conversation

eddywashere
Copy link
Member

First run at applying fade classes to a component. Modal has a fade in for backdrop and modal content. Added a Fade component to help with toggling classes from .fade to .fade.in via state.

Modal Props

  • isOpen
  • toggle
  • onExit - called after exit
  • onEnter - called after enter

Modal Header Props

  • toggle - adding this enables close button

@eddywashere
Copy link
Member Author

@cbfx merging as is, definitely up for responding to feedback in another issue/pr.

eddywashere added a commit that referenced this pull request Mar 13, 2016
@eddywashere eddywashere merged commit 9d255e1 into master Mar 13, 2016
@eddywashere eddywashere deleted the modal branch March 13, 2016 05:03
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

1 participant