Skip to content

Conversation

hipstersmoothie
Copy link
Contributor

fixes #233 (default props in a variable)

Also fixes issue where you access properties from and object

const defaults = { id: 123 }

MyComponent.defaultProps = {
  id: defaults.id
}

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.

Default column won't show values from defaultProps
2 participants