diff --git a/README.md b/README.md index 3218326546f67935c692d98ca7cbbce39237656c..92a9e41617ef74bcaa4510a04ba916d9e5c67c59 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ ![ui3](./doc/ui3.jpg) ![ui4](./doc/ui4.jpg) -###Documentation +### Documentation -####Params +#### Params |Key | Description | Type | Default| | --- | ----------- | ---- | ------ | @@ -28,7 +28,7 @@ |onPickerCancel | |function| | |onPickerSelect | |function| | -####Methods +#### Methods |Name | Description | Type | Default| | --- | ----------- | ---- | ------ | @@ -40,21 +40,21 @@ |isPickerShow |get status of picker, return a boolean | | | -###Usage +### Usage -####Step 1 - install +#### Step 1 - install ``` npm install react-native-picker --save ``` -####Step 2 - link +#### Step 2 - link ``` react-native link ``` -####Step 3 - import and use in project +#### Step 3 - import and use in project ```javascript import Picker from 'react-native-picker'; @@ -81,15 +81,15 @@ ``` -###Notice +### Notice -####support two modes: +#### support two modes: 1. parallel: such as time picker, wheels have no connection with each other 2. cascade: such as date picker, address picker .etc, when front wheel changed, the behind wheels will all be reset -####parallel: +#### parallel: - single wheel: @@ -109,7 +109,7 @@ selectedValue = [1, 5]; ``` -####cascade: +#### cascade: - two wheel @@ -173,4 +173,4 @@ ] ``` -### For pure javascript version -> [v3.0.5](https://github.com/beefe/react-native-picker/tree/pure-javascript-version) \ No newline at end of file +### For pure javascript version -> [v3.0.5](https://github.com/beefe/react-native-picker/tree/pure-javascript-version)