Skip to content

Commit

Permalink
Docs Add Table component for better table creation in mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
gwyneplaine committed Sep 27, 2023
1 parent e5ca06a commit b36809e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions polaris.shopify.com/src/components/Markdown/Markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,11 @@ function Markdown<
<Box as="table" {...props} className={styles.Table} />
</Box>
),
Table: (props) => (
<Box className={styles.TableWrapper}>
<Box as="table" {...props} className={styles.Table} />
</Box>
),
Box,
Stack,
InlineGrid,
Expand Down

0 comments on commit b36809e

Please sign in to comment.