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 23, 2019
1 parent b053cc3 commit d495ff3
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 d495ff3

Please sign in to comment.