![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
react-native-skeleton-views
Advanced tools
This is simple loading skeleton for React Native
Note: This package is required react-native-linear-gradient
Install react-native-linear-gradient Using npm :
npm install react-native-linear-gradient
If you are running a react-native version below 0.60:
react-native link react-native-linear-gradient
npm install react-native-skeleton-view
import SkeletonView from 'react-native-skeleton-view';
// ...
<SkeletonView style={{height: 12, width: 150, marginStart: 16, marginBottom: 8, borderRadius: 120}} />
import React from 'react';
import {StyleSheet, View} from 'react-native';
import SkeletonView from 'react-native-skeleton-view';
const App = () => {
return (
<View style={styles.Wrapper}>
<View style={styles.Card}>
<SkeletonView
style={styles.SkeletonProfile}
duration={1500}
/>
<View style={{marginTop: 8}}>
<SkeletonView
style={{height: 12, width: 125, marginStart: 16, marginBottom: 8, borderRadius: 120}}
/>
<SkeletonView
style={{height: 12, width: 150, marginStart: 16, marginBottom: 8, borderRadius: 120}}
/>
<SkeletonView
style={{height: 12, width: 150, marginStart: 16, marginBottom: 8, borderRadius: 100}}
/>
</View>
</View>
</View>
);
};
export default App;
const styles = StyleSheet.create({
Wrapper: {padding: 16},
SkeletonProfile: {
width: 80,
height: 80,
borderRadius: 80
},
Card: {
padding: 24,
borderWidth: 1,
borderColor: '#DEDEDE',
borderRadius: 20,
flexDirection: 'row',
alignItems: 'center'
}
})
Name | Description | Default |
---|---|---|
backgroundColor | For change background color skeleton | #E2E9ED |
highlightColor | For change highlight color skeleton | #D9E0E3 |
duration | For change duration animation skeleton | 1000 |
style | For custom style skeleton | None |
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
This is a loading skeleton for React Native
The npm package react-native-skeleton-views receives a total of 3 weekly downloads. As such, react-native-skeleton-views popularity was classified as not popular.
We found that react-native-skeleton-views demonstrated a not healthy version release cadence and project activity because the last version was released 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.