
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
react-native-dash-2
Advanced tools
Fully customizable and easy to use dash component for React Native
Add the dependency:
npm i react-native-dash-2
Zero Dependency
import Dash from "react-native-dash-2";
<Dash style={{ width: 100, height: 1 }} />
<Dash style={{ width: 1, height: 100, flexDirection: "column" }} />
You can checkout the example project 🥰
Simply run
npm ireact-native run-ios/androidshould work of the example project.
| Property | Type | Default | Description |
|---|---|---|---|
| style | StyleProp | undefined | set the height and width to make it visible and use flexDirection: "column" to make it vertical or horizontal |
| Property | Type | Default | Description |
|---|---|---|---|
| dashStyle | StyleProp | default | change dashStyle itself |
| dashGap | number | 2 | change the each dash's gap |
| dashLength | number | 4 | change / set dash length |
| dashThickness | number | 2 | change each dash's thickness |
| dashColor | color | "#000" | change each dash's color |
Heavily inspired by react-native-dash Since this library is not updated more than 3 years, we can continue with this project :) Thank you for the main library for obipawan
FreakyCoder, kurayogun@gmail.com
React Native Dash 2 is available under the MIT license. See the LICENSE file for more info.
FAQs
Fully customizable and easy to use dash component for React Native
The npm package react-native-dash-2 receives a total of 710 weekly downloads. As such, react-native-dash-2 popularity was classified as not popular.
We found that react-native-dash-2 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
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.