diff --git a/README.md b/README.md index be4ae1a..e67ce02 100644 --- a/README.md +++ b/README.md @@ -102,27 +102,15 @@ ReactDOM.render(, container); defaultValue - number - 0 - If range is `false`, this prop will set the initial position of the handle. - - - defaultValues - [number, number] - [0, 0] - If range is `true`, this prop will set initial positions of handles respectively. + number or [number, number] + 0 or [0, 0] + Set initial positions of handles. If range is `false`, the type of `defaultValue` should be `number`. Otherwise, `[number, number]` value - number + number or [number, number] - If range is `false`, this prop will set the current position of the handle. - - - values - [number, number] - - If range is `true`, this prop will set current positions of handles respectively. + Set current positions of handles. If range is `false`, the type of `defaultValue` should be `number`. Otherwise, `[number, number]` marks