Skip to content

Commit

Permalink
chore: removed SistentThemeProvider from code example
Browse files Browse the repository at this point in the history
Signed-off-by: Mdkaif-123 <[email protected]>
  • Loading branch information
mdkaifansari04 committed Nov 11, 2024
1 parent 3fb31b9 commit 1b49a8f
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions src/sections/Projects/Sistent/components/divider/code.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ const content = (
);

const codes = [
`<SistentThemeProvider>
<List sx={style}>
`<List sx={style}>
<ListItem>
<ListItemText primary="Full width variant below" />
</ListItem>
Expand All @@ -68,10 +67,8 @@ const codes = [
<ListItem>
<ListItemText primary="List item" />
</ListItem>
</List>
</SistentThemeProvider>`,
` <SistentThemeProvider>
<Box
</List>`,
`<Box
sx={{
display: "inline-flex",
alignItems: "center",
Expand All @@ -88,11 +85,8 @@ const codes = [
<FormatBoldIcon />
<Divider orientation="vertical" variant="middle" flexItem />
<FormatItalicIcon />
</Box>
</SistentThemeProvider>
`,
`<SistentThemeProvider>
<Box
</Box>`,
`<Box
sx={{
display: "flex",
alignItems: "center",
Expand All @@ -111,11 +105,8 @@ const codes = [
<FormatAlignRightIcon />
<Divider orientation="vertical" flexItem />
<FormatBoldIcon />
</Box>
</SistentThemeProvider>
`,
`<SistentThemeProvider>
<Root>
</Box>`,
`<Root>
{content}
<Divider>CENTER</Divider>
{content}
Expand All @@ -127,8 +118,7 @@ const codes = [
<Chip label="Chip" size="small" />
</Divider>
{content}
</Root>
</SistentThemeProvider>`,
</Root>`,
];

export const DividerCode = () => {
Expand Down

0 comments on commit 1b49a8f

Please sign in to comment.