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

rox-switch

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-switch

- category: Component - chinese: 开关 - type: 基础元件 - order:12

  • 0.0.29
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
3
Weekly downloads
 
Created
Source

rox-switch

  • category: Component
  • chinese: 开关
  • type: 基础元件
  • order:12


API

Switch 是状态切换的开关按钮组件。

Switch

属性说明类型默认值
onTintColor设置开关打开的背景色string
tintColor设置开关关闭时的背景色string
thumbTintColor设置开关关闭时的背景色string
disabled开关是否可交互booleantrue
value//todo
onValueChange值改变时调用此函数event

Keywords

FAQs

Package last updated on 05 Mar 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