Skip to content

Commit f3b6f6a

Browse files
committed
fix: prop tables documentation
1 parent a2519e4 commit f3b6f6a

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

next-release-notes.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
### Bug Fixes and Improvements
77

88
### Other Changes
9+
* Fixed broken props-tables documentations for react components.

packages/docs/docs/react/ControlledTreeEnvironment.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ in the [Guide on Controlled Environments](/docs/guides/controlled-environment).
1414
## Import
1515

1616
```typescript
17-
17+
import { ControlledTreeEnvironment } from "react-complex-tree";
1818
```
1919

2020
## Props

packages/docs/docs/react/Tree.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { PropTable } from '../../src/components/PropTable';
99
## Import
1010

1111
```typescript
12-
12+
import { Tree } from "react-complex-tree";
1313
```
1414

1515
## Props

packages/docs/docs/react/UncontrolledTreeEnvironment.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ in the [Guide on Uncontrolled Environments](/docs/guides/uncontrolled-environmen
1414
## Import
1515

1616
```typescript
17-
17+
import { UncontrolledTreeEnvironment } from "react-complex-tree";
1818
```
1919

2020
## Props

packages/docs/docusaurus.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ module.exports = {
148148
'docusaurus-plugin-react-docgen-typescript',
149149
{
150150
// pass in a single string or an array of strings
151-
src: ['../core/src/**/*.tsx'], //'!../core/src/**/*test.*', '!../core/src/**/*stories.*'],
151+
src: '../core/src/**/*.tsx', //'!../core/src/**/*test.*', '!../core/src/**/*stories.*'],
152152
tsconfig: '../core/tsconfig.json',
153153
// global: true,
154154
parserOptions: {

0 commit comments

Comments
 (0)