Browse Source

Update readme

master
Henning Hall 4 years ago
parent
commit
9501a453a8
3 changed files with 7 additions and 7 deletions
  1. +4
    -4
      README.md
  2. +2
    -2
      npmREADME.md
  3. +1
    -1
      package.json

+ 4
- 4
README.md View File

@ -6,7 +6,7 @@ This is a React Native Date Picker with following main features:
🕑&nbsp; 3 different modes: Time, Date, DateTime <br>
🌍&nbsp; Various languages<br>
🎨&nbsp; Customizable<br>
🖼&nbsp; Modal or stand-alone (inline)<br>
🖼&nbsp; Modal or Inlined<br>
## Update 4.0.0
@ -29,9 +29,9 @@ The first option is to use the built-in modal. See co
</tr>
</table>
## Stand-alone
## Inlined
The second option is to use the picker stand-alone. Inlined in a view or a custom made modal. <a href="#example-2-standalone">See code</a>.
The second option is to use the inlined picker. For instance in a view or a custom made modal. <a href="#example-2-inlined">See code</a>.
<table>
<tr>
@ -138,7 +138,7 @@ export default () => {
}
```
## Example 2: Standalone
## Example 2: Inlined
```jsx
import React, { useState } from 'react'

+ 2
- 2
npmREADME.md View File

@ -17,9 +17,9 @@ The first option is to use the built-in modal.
</tr>
</table>
## Stand-alone
## Inlined
The second option is to use the picker stand-alone. Inlined in a view or a custom made modal.
The second option is to use the inlined picker. For instance in a view or a custom made modal.
<table>
<tr>

+ 1
- 1
package.json View File

@ -1,7 +1,7 @@
{
"name": "react-native-date-picker",
"version": "4.0.0",
"description": "A datetime picker for React Native. In-modal or stand-alone. Supports Android and iOS.",
"description": "A datetime picker for React Native. In-modal or inlined. Supports Android and iOS.",
"main": "src/index.js",
"scripts": {
"prepublishOnly": "mv README.md githubREADME.md && mv npmREADME.md README.md",

Loading…
Cancel
Save