Skip to content

Commit

Permalink
feat(table): add header cell component
Browse files Browse the repository at this point in the history
This adds a HeaderCell Component which provides basic styling for table headers.
  • Loading branch information
Poltergeist committed Jul 6, 2018
1 parent 2676958 commit 655e6b8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { Badge } from "./badge";
export { BadgeButton } from "./badge";
export { Column, Table, Cell } from "./table";
export { Column, Table, Cell, HeaderCell } from "./table";
7 changes: 7 additions & 0 deletions packages/table/components/HeaderCell.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { default as Cell } from "./Cell";
import styled from "react-emotion";

export default styled(Cell)`
text-transform: uppercase;
font-weight: bold;
`;
1 change: 1 addition & 0 deletions packages/table/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export { default as Table } from "./components/Table";
export { default as Column } from "./components/Column";
export { default as Cell } from "./components/Cell";
export { default as HeaderCell } from "./components/HeaderCell";

0 comments on commit 655e6b8

Please sign in to comment.