Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rox-view

Package Overview
Dependencies
Maintainers
5
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-view

--- subtitle: 容器 group: General ---

  • 0.0.36
  • latest
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

subtitle: 容器 group: General

View


View 是一个容器组件,在 Native 端可以理解为 UIView ,在 web 端即 <div> ,它可以任意嵌套,但嵌套层数过深可能会导致页面在安卓5.0以下或部分机型闪退

View 有如下默认样式,在项目中不必重复写:

{
    position: 'relative',
    boxSizing: 'border-box',
    display: 'flex',
    flexDirection: 'column',
}

API

参数说明类型默认值
style样式object
onClick点击事件Function

Keywords

FAQs

Package last updated on 06 Jul 2018

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