Gathering detailed insights and metrics for bs-react-native-action-sheet
Gathering detailed insights and metrics for bs-react-native-action-sheet
Gathering detailed insights and metrics for bs-react-native-action-sheet
Gathering detailed insights and metrics for bs-react-native-action-sheet
npm install bs-react-native-action-sheet
Typescript
Module System
Node Version
NPM Version
OCaml (67.11%)
Shell (32.89%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
12 Stars
34 Commits
5 Watchers
5 Branches
3 Contributors
Updated on Apr 10, 2020
Latest Version
1.0.0
Package Id
bs-react-native-action-sheet@1.0.0
Unpacked Size
41.11 kB
Size
16.29 kB
File Count
19
NPM Version
5.6.0
Node Version
8.11.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
1
BS bindings for @expo/react-native-action-sheet
yarn add bs-react-native-action-sheet @expo/react-native-action-sheet
And then update your bsconfig.json with it Also do the normal setup as you would do for the JS one. Add the ActionSheetProvider somewhere in the top of your components tree.
1let component = ReasonReact.statelessComponent("ListItem");
2let handlePress = (showActionSheetWithOptions, ()) =>
3 showActionSheetWithOptions(
4 /* We'll probably make these variants in the next release */
5 ~options=["Edit", "Delete", "Cancel"],
6 ~destructiveButtonIndex=1,
7 ~cancelButtonIndex=2,
8 ~callback=
9 (buttonIndex) =>
10 switch buttonIndex {
11 | 0 => ()
12 | _ => ()
13 }
14 );
15let make = (~label, ~image, ~onPress=ignore, _children) => {
16 ...component,
17 render: (_self) =>
18 <ActionSheet>
19 (
20 (~showActionSheetWithOptions) =>
21 <Wrapper onPress>
22 <HGroup>
23 <ListIcon source=image />
24 <Text
25 ellipsizeMode=`tail
26 style=Style.(style([fontSize(15.), marginLeft(20.)]))
27 value=label
28 />
29 </HGroup>
30 <TouchableOpacity onPress=(handlePress(showActionSheetWithOptions))>
31 <MaterialCommunityIcons name="dots-vertical" color=AppTheme.Colors.greyLight />
32 </TouchableOpacity>
33 </Wrapper>
34 )
35 </ActionSheet>
36};
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/14 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
67 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More