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 passing props to Widget. #3

Merged
merged 1 commit into from
Apr 26, 2016

Conversation

hartmamt
Copy link
Contributor

Pass props to WidgetFrame if available. This allows Dashboard to be wrapped in a higher order component...

For example:

      widgets: {
        AcademicProfile: {
          type: AcademicProfile,
          props: {
            academicProfile: apdata,
            isFetching: false,
          },
        },
      }

@Raathigesh Raathigesh merged commit cd9dcf8 into Raathigesh:master Apr 26, 2016
@Raathigesh
Copy link
Owner

Raathigesh commented Apr 26, 2016

Awesome! Released with v1.2.2. Updated docs as well. Thank you for the PR.

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.

2 participants