-
Notifications
You must be signed in to change notification settings - Fork 841
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
Convert EuiPage and related components to TS #2669
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just needs more extensions, one of which is still an open question
src/components/page/page_content/page_content_header_section.tsx
Outdated
Show resolved
Hide resolved
Better type checking for EuiPageBody's component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some new things, plus I missed a couple last time.
Need to export the the props types/interfaces from their respective index.ts
, and from page/index.ts
:
EuiPageProps
EuiPageBodyProps
EuiPageContentProps
EuiPageContentBodyProps
EuiPageContentHeaderProps
EuiPageContentHeaderSectionProps
EuiPageHeaderProps
EuiPageHeaderSectionProps
EuiPageSideBarProps
Thanks @thompsongl. All the props should be exported now. Feedback addressed. Thanks for walking me through this one! |
jenkins test this flaky test, I think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌
Summary
Fixes #2646
Converts the following components to TS
Checklist
Checked in dark modeChecked in mobileChecked in IE11 and FirefoxAdded documentation examplesChecked for accessibility including keyboard-only and screenreader modes