Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
native-extension
Advanced tools
Changelog
v0.1.2 (2018/10/31)
Implemented enhancements:
Fixed bug:
Merged pull requests:
Readme
NativeExtension is open source framework. Essential cross-platform UI components for React Native
Here is direct link to npm package link
Here is direct link to yarn package link
Here is direct link to github link
Setup with React Native app
Install NativeExtension
npm install native-extension --save
NativeExtension | React Native |
---|---|
v0.0.1 | v0.57 |
import { Header } from 'native-extension';
const ComponentLeft = () =>
<View style={{ flex: 1, alignItems: 'flex-start' }} >
<Image
source={require('../../assets/images/ic_search.png')}
style={{ resizeMode: 'contain', width: 25, height: 25, marginLeft: 10, alignSelf: 'flex-start' }}
/>
</View>;
const ComponentCenter = () =>
<View style={{ flex: 1 }}>
<Image
source={require('../../assets/images/ic_google.png')}
style={{ resizeMode: 'contain', width: 200, height: 35, alignSelf: 'center' }}
/>
</View>;
const ComponentRight = () =>
<View style={{ flex: 1 }}>
<Image
source={require('../../assets/images/ic_profile.png')}
style={{ resizeMode: 'contain', width: 35, height: 35, marginRight: 10, alignSelf: 'flex-end' }}
/>
</View>;
class App extends Component {
render() {
return (
<View style={styles.container}>
<Header
componentLeft = { ComponentLeft }
componentCenter = { ComponentCenter }
componentRight = { ComponentRight }
navigationBarStyle= {{ backgroundColor: '#215e79' }}
statusBarStyle = {{ barStyle: 'light-content', backgroundColor: '#215e79' }}
/>
</View>
);
}
}
import { Switch } from 'native-extension';
<Switch
height={40}
width={300}
activeText={`Active Text`}
inActiveText={`InActive Text`}
onValueChange={(value: any) => console.log(value)}
/>
import { StarRating } from 'native-extension';
<StarRating
max={5}
initial={5}
onChange={(rating: number) => console.log(rating)}
selectedStar={require('../../../assets/images/icon_star.png')}
unselectedStar={require('../../../assets/images/star_unfill.png')}
config={{
easing: Easing.inOut(Easing.ease),
duration: 350,
}}
stagger={50}
maxScale={1.6}
starStyle={{
width: 11,
height: 11,
margin: 1,
}}
editable={false}
/>
FAQs
React Native Extension
The npm package native-extension receives a total of 1 weekly downloads. As such, native-extension popularity was classified as not popular.
We found that native-extension 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.