New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-indicator

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-indicator - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

lib/loader/LineDotsLoader.js

6

lib/loader/TextLoader.js

@@ -11,6 +11,10 @@ /**

static propTypes = {
text: PropTypes.string.isRequired,
text: PropTypes.string,
textStyle: Text.propTypes.style
};
static defaultProps = {
text: 'Loading'
};
constructor(props) {

@@ -17,0 +21,0 @@ super(props);

2

package.json
{
"name": "react-native-indicator",
"version": "0.6.2",
"version": "0.6.3",
"description": "React Native Indicator Component",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,2 +10,3 @@ # react-native-indicator

<img src="/screenshot/ss3.gif" width="372" height="666" />
<img src="/screenshot/ss4.gif" width="372" height="666" />

@@ -51,2 +52,3 @@ ## Installation

- [NineCubesLoader](#nineCubesLoader)
- [LineDotsLoader](#lineDotsLoader)

@@ -79,3 +81,3 @@ ```

| ---- | ---- | ---- | ---- |
| size | number | 10 | circle's size |
| size | number | 10 | dot's size |
| color | string | '#1e90ff' | indicator's color |

@@ -87,6 +89,6 @@ | betweenSpace | number | 5 | distance between two dots |

| prop | type | default | isRequired | description |
| ---- | ---- | ---- | ---- | ---- |
| **text** | string | none | **yes** | contents |
| textStyle | style | inherited | no | text's style |
| prop | type | default | description |
| ---- | ---- | ---- | ---- |
| text | string | 'Loading' | contents |
| textStyle | style | inherited | text's style |

@@ -203,4 +205,15 @@

##### LineDotsLoader
**warning:** *this indicator will occupy a whole horizontal space automatically, which mean you don't need to set any center props. Just keeping the direction of its parent View is vertical.*
| prop | type | default | description |
| ---- | ---- | ---- | ---- |
| size | number | 10 | dot's size |
| color | string | '#1e90ff' | indicator's color |
| dotsNumber | number | 5 | the number of dots |
| betweenSpace | number | 5 | distance between two dots |
## License
MIT
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc