Skip to content

docs: separate API from main README.md #70

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

Merged
merged 4 commits into from
Nov 23, 2018
Merged

docs: separate API from main README.md #70

merged 4 commits into from
Nov 23, 2018

Conversation

thymikee
Copy link
Member

@thymikee thymikee commented Nov 23, 2018

Summary

Separate API docs from main README.md
Relates to #26.

Test plan

README.md api.md
screenshot 2018-11-23 at 12 21 42 screenshot 2018-11-23 at 12 22 05


### `fireEvent: (element: ReactTestInstance, eventName: string, data?: *) => void`

Invokes named event handler on the element or parent element in the tree. For better readability, `fireEvent` strips the `on` part of the handler prop name, so it will fire `onMyCustomEvent` when `myCustomEvent` is passed as `eventName`.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the description here. cc @lukewalczak

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