Skip to content
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

Merged
merged 5 commits into from
Nov 8, 2018

Conversation

pugnascotia
Copy link
Contributor

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.

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.
}

export const EuiBetaBadge: SFC<
CommonProps & HTMLAttributes<HTMLSpanElement> & HTMLAttributes<HTMLButtonElement> & EuiBetaBadgeProps
Copy link
Contributor

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

}

export const EuiNotificationBadge: SFC<
CommonProps & HTMLAttributes<HTMLSpanElement> & HTMLAttributes<HTMLButtonElement>
Copy link
Contributor

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

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

change LGTM!

@pugnascotia pugnascotia merged commit 2e9ad3f into elastic:master Nov 8, 2018
@pugnascotia pugnascotia deleted the typescript-a-new-hope branch November 8, 2018 16:18
@snide snide mentioned this pull request Nov 30, 2018
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants