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

Transform propTypes and defaultProps #8

Open
egoist opened this issue Jul 29, 2017 · 1 comment
Open

Transform propTypes and defaultProps #8

egoist opened this issue Jul 29, 2017 · 1 comment
Assignees

Comments

@egoist
Copy link
Collaborator

egoist commented Jul 29, 2017

eg:

Appear.defaultProps = {
  transitionDuration: 300
};

Appear.propTypes = {
  children: PropTypes.node,
  fragment: PropTypes.object,
  route: PropTypes.object,
  style: PropTypes.object,
  transitionDuration: PropTypes.number
};

and

class Appear extends Component {
  static propTypes = {}
}
@nickmessing
Copy link
Member

Assigned to you 😄

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

No branches or pull requests

2 participants