New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bhoos/widgets

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bhoos/widgets

React Native Components

  • 0.1.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
2
Weekly downloads
 
Created
Source

React Native Widgets

StatusBar

Display a StatusBar with title, incorporating the native status bar. Support iPhoneX notch.

Usage

import { StatusBar } from '@bhoos/widgets'

const Profile = () => (
  <View>
    <StatusBar title="Profile" backgroundColor="red" light />
    <....>
  </View>
);

BottomNavigation

Display a bottom navigation bar with specific screen types.

Usage

import { BottomNavigation } from '@bhoos/widgets';

const App = () => (
  <BottomNavigation defaultScreen={Inbox} tintColor="white">
    <BottomNavigation.Item title="Inbox" icon={inbox} screen={Inbox} />
    <BottomNavigation.Item title="Profile" icon={profile} screen={Profile} />
  </BottomNavigation>
);

BottomPopup

A popup window for displaying content at the bottom of the screen.

Props

  • visible: Control popup display
  • title: Title text or title component
  • titleBack: Title bar background color
  • titleColor: Title bar text color
  • height: Height of popup in pixels
  • onClose: Close button press event

Usage

import { BottomPopup } from '@bhoos/widgets';

const App = () => (
  <View>
    <BottomPopup
      visible={visible}
      height={200}
      onClose={() => this.setState({ visible: false })}
      title="Popup Title" titleBack="black"
      titleColor="white"
    >
      {content}
    </BottomPopup>
  </View>
)

FAQs

Package last updated on 14 Feb 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc