Skip to content

Add TS defs for badges, popover titles, and other fixes#1299

Merged
pugnascotia merged 5 commits intoelastic:masterfrom
pugnascotia:typescript-a-new-hope
Nov 8, 2018
Merged

Add TS defs for badges, popover titles, and other fixes#1299
pugnascotia merged 5 commits intoelastic:masterfrom
pugnascotia:typescript-a-new-hope

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