From 9df197ef9d144760ebb0eb48fee8cca070db8469 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Thu, 21 Jan 2021 13:14:14 -0500 Subject: [PATCH] Add docs --- src/components/ItemTableCell/ItemTableCell.md | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/components/ItemTableCell/ItemTableCell.md b/src/components/ItemTableCell/ItemTableCell.md index e69de29..5a3bcea 100644 --- a/src/components/ItemTableCell/ItemTableCell.md +++ b/src/components/ItemTableCell/ItemTableCell.md @@ -0,0 +1,38 @@ +The ItemTableCell wraps an [MUI TableCell](https://material-ui.com/api/table-cell/) and adds styling. + +## Default Usage +```jsx +import { Paper } from '@material-ui/core'; +import ItemTableCell from "./ItemTableCell"; + + + + Hello, moto! + + +``` + +```jsx static + + + Hello, moto! + + +``` + +## Forwarded TableCell Props +Props can be passed to the TableCell component using the TableCellProps prop. +```jsx +import { Paper } from '@material-ui/core'; +import ItemTableCell from "./ItemTableCell"; + + + Hello, moto! + +``` + +```jsx static + + Hello, moto! + +``` \ No newline at end of file