Skip to content

Commit af52f71

Browse files
committed
Update readme
1 parent 6525d6e commit af52f71

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export default class Example extends Component{
6868
}
6969
```
7070

71-
7271
## Props
7372

7473
### SortablePane Component
@@ -91,13 +90,10 @@ If ommited the default direction is `'horizontal'`.
9190
The `margin` property is used to set the margin between Pane component.
9291
If ommited the default margin is `0`
9392

94-
#### `isResizable`: PropTypes.shape({ x: PropTypes.bool, y: PropTypes.bool, xy: PropTypes.bool })
93+
#### `zIndex`: PropTypes.number
9594

96-
The `isResizable` property is used to set the resizable permission of a component.
97-
98-
The permission of `x`, `y`, `xy` direction resizing.
99-
If omitted the default value is `{ x: true, y: true, xy: true }`.
100-
If you want to permit only x direction resizing, please set `{ x:true, y:false, xy:false }`.
95+
The `zIndex` property is used to set the zIndex of a component.
96+
If ommited the default margin is `100`
10197

10298
#### `isSortable`: PropTypes.bool
10399

@@ -243,6 +239,15 @@ The `className` property is used to set the css class name of a Pane component.
243239
The `style` property is used to set the style of a Pane component.
244240

245241

242+
#### `isResizable`: PropTypes.shape({ x: PropTypes.bool, y: PropTypes.bool, xy: PropTypes.bool })
243+
244+
The `isResizable` property is used to set the resizable permission of a component.
245+
246+
The permission of `x`, `y`, `xy` direction resizing.
247+
If omitted the default value is `{ x: true, y: true, xy: true }`.
248+
If you want to permit only x direction resizing, please set `{ x:true, y:false, xy:false }`.
249+
250+
246251
## TODO
247252

248253
- [x] Horizontal pane
@@ -255,11 +260,17 @@ The `style` property is used to set the style of a Pane component.
255260

256261
## Changelog
257262

263+
264+
### V0.5.1
265+
266+
- update readme
267+
258268
### V0.5.0
259269

260270
- Fixes a nasty bug
261271
- Add isResizable props to Pane component
262272
- Set `user-select: none` when resizeing or moving.
273+
- Add zIndex props.
263274
- update example
264275

265276
### V0.4.1

0 commit comments

Comments
 (0)