Skip to content

Commit

Permalink
feat(table): add cell component
Browse files Browse the repository at this point in the history
This adds a cell component which provides basic styling for cell content.
  • Loading branch information
Poltergeist committed Jul 6, 2018
1 parent cbb0b6a commit 2676958
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 } from "./table";
export { Column, Table, Cell } from "./table";
7 changes: 7 additions & 0 deletions packages/table/components/Cell.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import styled from "react-emotion";

export default styled("div")`
height: 100%;
box-sizing: border-box;
padding: 7px;
`;
1 change: 1 addition & 0 deletions packages/table/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { default as Table } from "./components/Table";
export { default as Column } from "./components/Column";
export { default as Cell } from "./components/Cell";

0 comments on commit 2676958

Please sign in to comment.