diff --git a/packages/edit-site/src/components/table/index.js b/packages/edit-site/src/components/table/index.js deleted file mode 100644 index 0afe655876faac..00000000000000 --- a/packages/edit-site/src/components/table/index.js +++ /dev/null @@ -1,33 +0,0 @@ -export default function Table( { data, columns } ) { - return ( -
- - - - { columns.map( ( column ) => ( - - ) ) } - - - - { data.map( ( row, rowIndex ) => ( - - { columns.map( ( column, columnIndex ) => ( - - ) ) } - - ) ) } - -
{ column.header }
- { column.cell( row ) } -
-
- ); -} diff --git a/packages/edit-site/src/components/table/style.scss b/packages/edit-site/src/components/table/style.scss deleted file mode 100644 index 85c741575d5a44..00000000000000 --- a/packages/edit-site/src/components/table/style.scss +++ /dev/null @@ -1,38 +0,0 @@ -.edit-site-table-wrapper { - width: 100%; - padding: $grid-unit-40; -} - -.edit-site-table { - width: 100%; - text-indent: 0; - border-color: inherit; - border-collapse: collapse; - position: relative; - a { - text-decoration: none; - } - th { - text-align: left; - font-weight: normal; - padding: 0 $grid-unit-20 $grid-unit-20; - color: $gray-700; - } - td { - padding: $grid-unit-20; - } - td, - th { - vertical-align: center; - &:first-child { - padding-left: 0; - } - &:last-child { - padding-right: 0; - text-align: right; - } - } - tr { - border-bottom: 1px solid $gray-100; - } -} diff --git a/packages/edit-site/src/style.scss b/packages/edit-site/src/style.scss index 23802cebc3a718..c8776b1b0e761e 100644 --- a/packages/edit-site/src/style.scss +++ b/packages/edit-site/src/style.scss @@ -9,7 +9,6 @@ @import "./components/page/style.scss"; @import "./components/page-patterns/style.scss"; @import "./components/page-templates/style.scss"; -@import "./components/table/style.scss"; @import "./components/editor/style.scss"; @import "./components/welcome-guide/style.scss"; @import "./components/layout/style.scss";