Skip to content

Commit d180a84

Browse files
committed
fix: add missing expading tree example
1 parent c8ebfba commit d180a84

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

apps/mantine-react-table-docs/example-groups/EditingCRUD.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const EditingCRUD = ({ isPage = false }) => {
3434
<Tabs.Tab value="editing-crud-inline-table">
3535
Inline Table (All Rows Editable)
3636
</Tabs.Tab>
37-
<Link href="/docs/editing-crud-tree">
37+
<Link href="/docs/examples/editing-crud-tree">
3838
<Tabs.Tab value="editing-crud-tree">Tree Editing</Tabs.Tab>
3939
</Link>
4040
<Link href="/docs/examples">

apps/mantine-react-table-docs/example-groups/ExpandingExamples.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import MinimalExample from '../examples/minimal';
66
import AdvancedExample from '../examples/advanced';
77
import AggregationAndGroupingExample from '../examples/aggregation-and-grouping';
88
import CustomHeadlessExample from '../examples/custom-headless';
9+
import ExpandingTreeExample from '../examples/editing-crud-tree';
910

1011
const ExpandingExamples = ({ isPage = false }) => {
1112
const { pathname, push } = useRouter();
@@ -28,6 +29,7 @@ const ExpandingExamples = ({ isPage = false }) => {
2829
<Tabs.Tab value="aggregation-and-grouping">Aggregation</Tabs.Tab>
2930
<Tabs.Tab value="detail-panel">Detail Panel</Tabs.Tab>
3031
<Tabs.Tab value="chart-detail-panel">Chart Detail Panel</Tabs.Tab>
32+
<Tabs.Tab value="expanding-tree">Expanding Tree</Tabs.Tab>
3133
</Tabs.List>
3234
<Tabs.Panel value="column-grouping">
3335
<ExampleGrouping showTopRow={isPage} />
@@ -44,6 +46,9 @@ const ExpandingExamples = ({ isPage = false }) => {
4446
<Tabs.Panel value="chart-detail-panel">
4547
<CustomHeadlessExample showTopRow={isPage} />
4648
</Tabs.Panel>
49+
<Tabs.Panel value="expanding-tree">
50+
<ExpandingTreeExample showTopRow={isPage} />
51+
</Tabs.Panel>
4752
</Tabs>
4853
</Box>
4954
);

apps/mantine-react-table-docs/pages/docs/examples/expanding-tree.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,4 @@ Mantine React Table supports showing rows in a expanding tree structure. This ex
2323

2424
Learn more about how to customize this in the [expanding sub-rows feature guide](/docs/guides/expanding-sub-rows).
2525

26-
<Examples isPage />
27-
28-
View Extra Storybook **[Examples](https://www.mantine-react-table.dev/?path=/story/features-aggregation-examples)**
26+
<Examples isPage />

0 commit comments

Comments
 (0)