Installations
npm install react-native-big-tab-bar
Developer
sevvaleygul0
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
Yes
Node Version
16.20.0
NPM Version
8.19.4
Statistics
8 Stars
75 Commits
1 Forks
1 Watching
4 Branches
1 Contributors
Updated on 26 Jul 2023
Languages
TypeScript (30.28%)
Java (30.09%)
JavaScript (16.05%)
Objective-C (9.67%)
Ruby (9.64%)
Objective-C++ (3.16%)
Shell (1.12%)
Total Downloads
Cumulative downloads
Total Downloads
1,915
Last day
0%
3
Compared to previous day
Last week
-75%
4
Compared to previous week
Last month
1,156.3%
402
Compared to previous month
Last year
26.6%
590
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
3
Peer Dependencies
2
Demo
Installation
Add the dependency:
1npm i react-native-big-tab-bar
Import
1import BigTabBar from "react-native-big-tab-bar";
Data Model
export type ITabBar = {
id: number;
text: string;
number?: number;
image?: any;
};
Example Data
1[ 2 { 3 id: 0, 4 bottomText: "Monday", 5 innerText: "8", 6 }, 7 { 8 id: 1, 9 bottomText: "Tuesday", 10 image: { 11 uri: "https://image.winudf.com/v2/image/Y29tLnNnbS5iZWFjaHdhbGxwYXBlcmhkX3NjcmVlbnNob3RzXzJfZjRhOGQ4MzQ/screen-2.jpg?fakeurl=1&type=.jpg", 12 }, 13 }, 14 { 15 id: 2, 16 bottomText: "Wednesday", 17 innerText: "14", 18 }, 19 { 20 id: 3, 21 bottomText: "Thursday", 22 image: { uri: "https://images2.alphacoders.com/468/4682.jpg" }, 23 }, 24];
Example Usage
1<BigTabBar tabs={tabs} />
Configuration - Props
Property | Type | Default | Description |
---|---|---|---|
tabs | array | Set your tab bar items | |
itemStyle | style | default | set your custom item button style |
height | number | 120 | set your custom item height value |
width | number | 72 | set your custom item width value |
bottomTextStyle | style | default | set your custom text style |
selectedItem | number | 0 | set your initial item |
innerContainerHeight | number | 50 | set the height of the inner container |
innerContainerWeight | number | 50 | set the width of the inner container |
activeBackgroundColor | string | "#F5C812" | set your active background color |
inActiveBackgroundColor | string | "#faeed9" | set the background color when it is inactive |
inActiveTextColor | string | "#6e685f" | set the text color when it is inactive |
activeTextColor | string | "#fff" | set the text color when it is active |
ImageComponent | Image | Image | set on your own Image Component |
imageStyle | style | default | set your custom image style |
innerActiveTextColor | string | "#F5C812" | if there are numbers in the inner container, you can change the color when it is active |
innerInActiveTextColor | string | "#F5C812" | if there are numbers in the inner container, you can change the color when it is inactive |
innerTextStyle | style | default | set your custom text style |
onPress | function | undefined | set your own function when onPress |
onChange | function | undefined | set your own function when onChange |
Author
Sevval Eygul, sevvalleygull@gmail.com
License
React Native Big Tab Bar is available under the MIT license. See the LICENSE file for more info.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29
- Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1
- Info: no jobLevel write permissions found
Reason
binaries present in source code
Details
- Warn: binary detected: example/android/gradle/wrapper/gradle-wrapper.jar:1
Reason
SAST tool detected but not run on all commits
Details
- Info: SAST configuration detected: CodeQL
- Warn: 0 commits out of 21 are checked with a SAST tool
Reason
security policy file detected
Details
- Info: security policy file detected: SECURITY.md:1
- Warn: no linked content found
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
Reason
Found 0/9 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
license file not detected
Details
- Warn: project does not have a license file
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/sevvaleygul0/react-native-big-tab-bar/codeql-analysis.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/sevvaleygul0/react-native-big-tab-bar/codeql-analysis.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/sevvaleygul0/react-native-big-tab-bar/codeql-analysis.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/sevvaleygul0/react-native-big-tab-bar/codeql-analysis.yml/master?enable=pin
- Info: 0 out of 4 GitHub-owned GitHubAction dependencies pinned
Reason
32 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-2rxp-v6pw-ch6m
- Warn: Project is vulnerable to: GHSA-4xqq-m2hx-25v8
- Warn: Project is vulnerable to: GHSA-5866-49gr-22v4
- Warn: Project is vulnerable to: GHSA-r55c-59qm-vjw6
- Warn: Project is vulnerable to: GHSA-vg3r-rm7w-2xgh
- Warn: Project is vulnerable to: GHSA-vmwr-mc7x-5vc3
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx
- Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22
- Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp
- Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695
- Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm
- Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574
- Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-rxrc-rgv4-jpvx
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg
- Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p
- Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6
- Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
- Warn: Project is vulnerable to: GHSA-5fg8-2547-mr8q
- Warn: Project is vulnerable to: GHSA-crh6-fp67-6883
Score
3.6
/10
Last Scanned on 2024-11-18
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