2.0.0 • Published 4 years ago

react-native-spritz v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

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

PropertyTypeDescription
baseUrlstringServer base URL which parsing webisites with selectors
noSelectorBaseUrlstringServer base URL which parsing webisites without selectors
noSelectorApiKeystringApi-key for using services on noSelectorBaseUrl server
selectorApiAccessTokenstringAccess token for using services on baseUrl server
wpmnumberCurrent wpm value
onWpmIndicatorPressFunctionis called when wpm label clicked on
htmlstringHTML content which can be Spritzed
urlstringThe address of the page whose content can be Spritzed
fullSizebooleanSupport fullsize view in landscape mode
readFromClipboardbooleanCopied 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

MIT

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