Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/components/__snapshots__/table-header-item.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`<TableHeaderItem /> should render correctly 1`] = `
<TableHeaderItem>
<Styled(td)
<Styled(th)
styles={
Array [
Object {
Expand All @@ -14,11 +14,11 @@ exports[`<TableHeaderItem /> should render correctly 1`] = `
]
}
>
<td
<th
className="css-4x5e e51bxha0"
>
Header Text
</td>
</Styled(td)>
</th>
</Styled(th)>
</TableHeaderItem>
`;
2 changes: 1 addition & 1 deletion src/components/table-header-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import { getStyles } from '../utils/base';
import styled from 'react-emotion';

const StyledTableHeaderItem = styled.td(props => props.styles);
const StyledTableHeaderItem = styled.th(props => props.styles);

export default class TableHeaderItem extends Component {
render() {
Expand Down