-
Notifications
You must be signed in to change notification settings - Fork 843
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
Add TS defs for badges, popover titles, and other fixes #1299
Conversation
Ensure tab TS definitions are included in the main definition index. The definitions were added in a previous PR, but not included in the main index.d.ts file. Also fix an issue in the build where a required directly wasn't being created.
src/components/badge/index.d.ts
Outdated
} | ||
|
||
export const EuiBetaBadge: SFC< | ||
CommonProps & HTMLAttributes<HTMLSpanElement> & HTMLAttributes<HTMLButtonElement> & EuiBetaBadgeProps |
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.
I don't see any use of a button
in EuiBetaBadge
src/components/badge/index.d.ts
Outdated
} | ||
|
||
export const EuiNotificationBadge: SFC< | ||
CommonProps & HTMLAttributes<HTMLSpanElement> & HTMLAttributes<HTMLButtonElement> |
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.
I don't see any use of a button
in EuiNotificationBadge
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.
change LGTM!
Add TS defs for beta and notifications badges, and popover titles.
Fix the main TS index file so that tab definitions are included.
Fix the build to ensure all required directories are created.