-
Notifications
You must be signed in to change notification settings - Fork 842
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
EuiTableRowCellProps TS defs fixes #1310
EuiTableRowCellProps TS defs fixes #1310
Conversation
@@ -132,9 +132,16 @@ declare module '@elastic/eui' { | |||
*/ | |||
|
|||
export interface EuiTableRowCellProps { |
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.
Question: why is EuiTableRowCellProps
imported at the top of this file, while also exporting it here?
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 have no idea...removed.
align?: HorizontalAlignment; | ||
hasActions?: boolean; |
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.
Does colSpan
need to go in here too?
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.
No, but your comment made me realise that I was unioning the wrong props. I've fix that now so that colSpan
and friends are correctly merged in.
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.
Oh now I see, got it.
This PR just adds a bunch of missing props to the TS definition for
EuiTableRowCellProps
.