Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
react-native-skeletons
Advanced tools
Fully customizable small library with no extra dependencies for creating animated loading skeletons
A fully customizable small library with zero dependencies for creating animated loading skeletons.
yarn add react-native-skeletons
or
npm install react-native-skeletons
Simple one line skeleton:
<Skeleton />
Skeleton with circle:
<Skeleton circle width={40} height={40} />
Skeleton with count value:
<Skeleton count={4} width={'100%'} height={14} />
Skeleton with custom styles:
<Skeleton
count={4}
width={'100%'}
height={14}
color={'grey'}
borderRadius={10}
style={styles.myCustomStyle}
/>
Skeleton with spacing value:
<Skeleton count={14} spacing={20} />
Prop | Description | Default |
---|---|---|
color | The background color of the skeleton. | #ebebeb |
width | The width of the skeleton. | 100% |
height | The height of each skeleton line. (Can't use if `circle` is being used ) | 14 |
borderRadius | The border radius of the skeleton. | 4 |
count | The number of lines of skeletons. | 1 |
circle |
Makes the skeleton circular by setting borderRadius to half of width.
| false |
style | A custom style for the individual skeleton elements which is used alongside the default style | |
spacing |
Value for setting marginBottom when using with multiple skeleton elements. NOTE: this will only apply when count value is greater than 1
|
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
Fully customizable small library with no extra dependencies for creating animated loading skeletons
The npm package react-native-skeletons receives a total of 679 weekly downloads. As such, react-native-skeletons popularity was classified as not popular.
We found that react-native-skeletons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.