Skip to content

Move react-datepicker types into EUI#1618

Merged
chandlerprall merged 5 commits intoelastic:masterfrom
chandlerprall:remove-types-reactdatepicker-dep
Feb 27, 2019
Merged

Move react-datepicker types into EUI#1618
chandlerprall merged 5 commits intoelastic:masterfrom
chandlerprall:remove-types-reactdatepicker-dep

Conversation

@chandlerprall
Copy link
Contributor

@chandlerprall chandlerprall commented Feb 27, 2019

Summary

Attempts to resolve same issue as #1607 , but by inlining the react-datepicker TS defs into EUI. I verified ReactDatePicker and ReactDatePickerProps are exported out of @elastic/eui module so consumers can use the same type defs if needed.

Checklist

- [ ] This was checked in mobile
- [ ] This was checked in IE11
- [ ] This was checked in dark mode
- [ ] Any props added have proper autodocs
- [ ] Documentation examples were added

  • A changelog entry exists and is marked appropriately
    - [ ] This was checked for breaking changes and labeled appropriately
    - [ ] Jest tests were updated or added to match the most common scenarios
    - [ ] This was checked against keyboard-only and screenreader scenarios
    - [ ] This required updates to Framer X components

Copy link
Member

@jasonrhodes jasonrhodes left a comment

Choose a reason for hiding this comment

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

With my added changes, this passes in Kibana :D

@chandlerprall
Copy link
Contributor Author

Thanks again @jasonrhodes !

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.

3 participants