Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
react-native-solinor-components
Advanced tools
Common Components to be used in Solinor React Native projects
Common Components to be used in Solinor React Native projects. Instead of reinventing the wheel all the time, here are some components that can be reused freely.
Components are in a private repo, so you need to have access to Solinor org and Mobile dev group and have your ssh setup for github. Ask Juha Linnanen for access to Mobile dev group if necessary.
yarn add git+ssh://git@github.com:solinor/react-native-solinor-components.git#master
import { SwipeConfirm } from 'react-native-solinor-components'
<SwipeConfirm
bgColor={'#eeeeee'}
buttonColor={'#333333'}
text={'PAY 11,00 €'}
onSwipeCompleted={ () => { window.alert('payment received!')} }
/>
You may add new components, but need to make sure that they are:
Swipeable button to confirm for example, payments. After user swipes over 55% away, it is considered a full swipe and will be animated to the end.
Attribute | Type | Default | Description |
---|---|---|---|
height | number | 60 | Height of the whole component |
width | number | 280 | Width of the whole component |
bgColor | color | '#999999' | Background color for the component |
buttonColor | color | '#111111' | Color of the swipeable round button |
text | string | '' | Text displayed in the center of the component |
textColor | color | '#000000' | Color of the text |
iconSize | number | 25 | > Icon size inside the button |
iconColor | color | '#666666' | > Icon color |
disabled | boolean | 'false' | Makes swipe enable/disabled |
onSwipeCompleted | function | () => {} | Callback function, which gets called when swipe is completed. |
<ProgressiveImage
thumbnailSource={{uri: url}}
imageSource={{uri: url}}
placeHolderSource={require('../Images/placeholder-image.jpg')}
style={imageStyle} />
FAQs
Common Components to be used in Solinor React Native projects
The npm package react-native-solinor-components receives a total of 3 weekly downloads. As such, react-native-solinor-components popularity was classified as not popular.
We found that react-native-solinor-components 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.