diff --git a/src/components/LastUpdatedCell/LastUpdatedCell.md b/src/components/LastUpdatedCell/LastUpdatedCell.md deleted file mode 100644 index ce823a5..0000000 --- a/src/components/LastUpdatedCell/LastUpdatedCell.md +++ /dev/null @@ -1,38 +0,0 @@ -A table cell that takes a time value and returns a relative time with a background color to indicate how old an item is. - -The LastUpdatedCell wraps an [ItemTableCell](/#/Components/ItemTableCell) - -## Default Usage -```jsx -import { Paper } from '@material-ui/core'; -import LastUpdatedCell from "./LastUpdatedCell"; - -let today = new Date(); -let threeDaysAgo = new Date().setDate(today.getDate() - 3); -let lastWeek = new Date().setDate(today.getDate() - 8); -let lastMonth = new Date().setDate(today.getDate() - 28); - - - { /* Today */ } - - { /* Three Days Ago */ } - - { /* Last Week */ } - - { /* Last Month */ } - - -``` - -```jsx static - - { /* Today */ } - - { /* Three Days Ago */ } - - { /* Last Week */ } - - { /* Last Month */ } - - -``` \ No newline at end of file