-
Notifications
You must be signed in to change notification settings - Fork 834
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converted
EuiTableHeaderMobile
to TS (#1786)
* [Pagination] - Updated Changelog * Code Review - Moved Changelog entry to current master * [META] - Converted to TS + tests * Code review fixes * [META] - Converted to TS * Updated Changelog * EuiFormErrorText - Code review fixes * Converted `EuiTableHeaderMobile` to TS + tests * Updated Changelog * Updated Changelog entry for EuiTableHeaderMobile * EuiTableHeaderMobile: Code review fixes
- Loading branch information
1 parent
5973f54
commit fde22a8
Showing
7 changed files
with
20 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { EuiTableHeaderMobile } from './table_header_mobile'; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React, { FunctionComponent, HTMLAttributes } from 'react'; | ||
import classNames from 'classnames'; | ||
import { CommonProps } from '../../common'; | ||
|
||
export const EuiTableHeaderMobile: FunctionComponent< | ||
CommonProps & HTMLAttributes<HTMLDivElement> | ||
> = ({ children, className, ...rest }) => { | ||
const classes = classNames('euiTableHeaderMobile', className); | ||
|
||
return ( | ||
<div className={classes} {...rest}> | ||
{children} | ||
</div> | ||
); | ||
}; |