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

fix(Editor): use handledProps instead of propTypes #1258

Merged
merged 1 commit into from
Jan 31, 2017

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Jan 31, 2017

The editor uses propTypes to generate completions. However, we now strip propTypes in production. The docs, therefore, have no prop completions.

This PR gets prop completions from the handledProps array, which includes all props.

@levithomason levithomason merged commit 1a0dfa8 into master Jan 31, 2017
@levithomason levithomason deleted the fix/editor-prop-completions branch January 31, 2017 01:10
@levithomason
Copy link
Member Author

Released in [email protected].

harel pushed a commit to harel/Semantic-UI-React that referenced this pull request Feb 18, 2017
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.

1 participant