Skip to content

Commit b690370

Browse files
committed
Docs fix
1 parent 6ea9898 commit b690370

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

src/components/stories/00-docs/02-CommonProperties.stories.mdx

+8-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@ import { CommonHeader, PropsTable, StandardProps } from "../Utils";
55

66
<Meta title="React Spaces/Common properties" />
77

8-
## Useful properties
8+
## Common properties
99

10-
Applies to `<Fill />` `<Left />` `<Top />` `<Right />` `<Bottom />` `<LeftResizable />` `<TopResizable />` `<RightResizable />` `<BottomResizable />` `<Positioned />` `<Custom />`
10+
Every space has a set of common properties.
11+
12+
#### Applies to
13+
14+
`<ViewPort />` `<Fixed />` `<Fill />` `<Left />` `<Top />` `<Right />` `<Bottom />` `<LeftResizable />` `<TopResizable />` `<RightResizable />` `<BottomResizable />` `<Positioned />` `<Custom />`
15+
16+
#### Properties
1117

1218
<PropsTable>
1319
<StandardProps />

src/components/stories/00-docs/05-CustomHandles.stories.mdx

+8-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,17 @@ import { CommonHeader, PropsTable, StandardProps, AnchoredProps, ResizableProps
99

1010
<Meta title="React Spaces/Custom resize handles" />
1111

12-
# Custom resize handles
12+
## Custom resize handles
1313

14-
React spaces allows you to pass custom components to be used as resize handles using the `handleRender` prop.
14+
You can pass custom components to be used as resize handles using the `handleRender` prop.
1515
This is an alternative to overriding the default css classes and will give you more control.
1616

17+
#### Applies to
18+
19+
`<LeftResizable />` `<TopResizable />` `<RightResizable />` `<BottomResizable />`
20+
21+
#### Example
22+
1723
Pass a function to the `handleRender` prop that will be called for every resize handle on that component.
1824

1925
```tsx

0 commit comments

Comments
 (0)