diff --git a/src/components/ItemTableCell/ItemTableCell.stories.mdx b/src/components/ItemTableCell/ItemTableCell.stories.mdx index 0e5e5a9..3f24292 100644 --- a/src/components/ItemTableCell/ItemTableCell.stories.mdx +++ b/src/components/ItemTableCell/ItemTableCell.stories.mdx @@ -1,4 +1,4 @@ -import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'; +import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs/blocks'; import ItemTableCell from "./ItemTableCell"; import { Paper } from '@material-ui/core'; @@ -6,33 +6,39 @@ The ItemTableCell wraps an [MUI TableCell](https://material-ui.com/api/table-cel - ( - - - - ),]} - component={ItemTableCell}/> - -## Default Usage + +## Default - - {args => } + + { args => } ## Forwarded TableCell Props -Props can be passed to the TableCell component using the TableCellProps prop. +Props can be passed to the [MUI TableCell](https://material-ui.com/api/table-cell/) component using the TableCellProps prop. - - {args => } + I am small!, + TableCellProps: { + size: "small" + } + }} + > + { args => } + + \ No newline at end of file