2.0.0 • Published 4 years ago
react-native-spritz v2.0.0
react-native-spritz
react-native-spritz is a react native library for Spritz fast reading component. See spritz.com
Installation
First
npm install react-native-text-size
Then add
'RNTextSize', :path =>'../node_modules/react-native-text-size/ios/RNTextSize.podspec'
into your Podfile
The last thing to do is
npm install react-native-spritz
Usage
import Spritz from 'react-native-spritz'
<Spritz
baseUrl={'add url here'}
selectorApiAccessToken={'add access token'}
noSelectorBaseUrl={'add no selector base url'}
noSelectorApiKey={'add api-key'}
wpm={200}
onWpmIndicatorPress={() => {}}
html={'add html here'}
url={'add url here'}
fullSize={false}
readFromClipboard={true}
/>
Documentation
Property | Type | Description |
---|---|---|
baseUrl | string | Server base URL which parsing webisites with selectors |
noSelectorBaseUrl | string | Server base URL which parsing webisites without selectors |
noSelectorApiKey | string | Api-key for using services on noSelectorBaseUrl server |
selectorApiAccessToken | string | Access token for using services on baseUrl server |
wpm | number | Current wpm value |
onWpmIndicatorPress | Function | is called when wpm label clicked on |
html | string | HTML content which can be Spritzed |
url | string | The address of the page whose content can be Spritzed |
fullSize | boolean | Support fullsize view in landscape mode |
readFromClipboard | boolean | Copied content from a website that can be Spritzed |
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
2.0.0
4 years ago
1.0.20
4 years ago
1.0.19
4 years ago
1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago