Skip to content

Commit

Permalink
inline mobileOptions for header cell
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Jan 24, 2019
1 parent 32719ec commit 63a592b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/components/table/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@ declare module '@elastic/eui' {

export type TableHeaderCellScope = 'col' | 'row' | 'colgroup' | 'rowgroup';

export type EuiTableHeaderCellMobileOptionsShape = {
show?: boolean;
only?: boolean;
}

export interface EuiTableHeaderCellProps {
align?: HorizontalAlignment;
width?: string;
Expand All @@ -87,7 +82,10 @@ declare module '@elastic/eui' {
scope?: TableHeaderCellScope;
isMobileHeader?: boolean;
hideForMobile?: boolean;
mobileOptions?: EuiTableHeaderCellMobileOptionsShape;
mobileOptions?: {
show?: boolean;
only?: boolean;
};
}

export const EuiTableHeaderCell: SFC<
Expand Down

0 comments on commit 63a592b

Please sign in to comment.