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

react-native-box-lite

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-box-lite

This is a new [**React Native**](https://reactnative.dev) project, bootstrapped using [`@react-native-community/cli`](https://github.com/react-native-community/cli).

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-native-box-lite

![components-demo]https://github.com/sangyuo/react-native-components/blob/main/src/example/example-1.png

Installation

$ npm install react-native-box-lite or $ yarn add react-native-box-lite

Extension for react-native-box-lite

To use suggestion for className, you need to install extension react-native-components-intellisense in your vscode.

Usage

import {Box, Button, Text} from 'react-native-box-lite';
<Box className="bg-amber-200 h-12 w-12">
   <Text className="text-white font-bold text-md">
      Demo rn component
   </Text>
</Box>
<Text className="text-green-500 font-bold text-base">
   Demo rn component
</Text>
<Button className="w-10 h-5 bg-amber-500">
   <Text className="text-white font-bold text-center">Button</Text>
</Button>

Box

PropDescriptionDefault
classNameclass styles of componentnull
scaleScreenActive use scale by width of screentrue
restextents from ViewProps

Button

PropDescriptionDefault
classNameclass styles of componentnull
scaleScreenActive use scale by width of screentrue
isDebounceActive debounce when pressfalse
delayDebouncetime debounce when press500
restextents from TouchableOpacityProps

Text

PropDescriptionDefault
classNameclass styles of componentnull
scaleScreenActive use scale by width of screentrue

Keywords

FAQs

Package last updated on 04 Apr 2024

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