-
Notifications
You must be signed in to change notification settings - Fork 844
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 EuiDescribedFormGroup to typeScript #2810
Convert EuiDescribedFormGroup to typeScript #2810
Conversation
src/components/form/described_form_group/described_form_group.tsx
Outdated
Show resolved
Hide resolved
src/components/form/described_form_group/described_form_group.tsx
Outdated
Show resolved
Hide resolved
src/components/form/described_form_group/described_form_group.tsx
Outdated
Show resolved
Hide resolved
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.
Nice job! A couple things below
Also, rename described_form_group/index.tsx
to described_form_group/index.ts
src/components/form/described_form_group/described_form_group.tsx
Outdated
Show resolved
Hide resolved
src/components/form/described_form_group/described_form_group.tsx
Outdated
Show resolved
Hide resolved
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.
These 3 all go together. Should be the last necessary changes.
src/components/form/described_form_group/described_form_group.tsx
Outdated
Show resolved
Hide resolved
src/components/form/described_form_group/described_form_group.tsx
Outdated
Show resolved
Hide resolved
src/components/form/described_form_group/described_form_group.tsx
Outdated
Show resolved
Hide resolved
Co-Authored-By: Greg Thompson <[email protected]>
Co-Authored-By: Greg Thompson <[email protected]>
Co-Authored-By: Greg Thompson <[email protected]>
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.
LGTM!
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.
Almost! Caught something while checking in Kibana
Need to add the idAria
prop to EuiDescribedFormGroupProps
: idAria?: string
@thompsongl the |
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.
Ah I missed that. This is good to go, then
Summary
Closes #2649.
This is basically an attempt to convert the
EuiDescribedFormGroup
to typescript.Checklist