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 - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

2

package.json
{
"name": "rox-switch",
"version": "0.0.19",
"version": "0.0.20",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

# rox-switch
组件描述...
- category: Component
- chinese: 开关
- type: 基础元件
- order:12
---
---
## API
Switch 是状态切换的开关按钮组件。
### Switch
属性 | 说明 | 类型 | 默认值
-----|-----|-----|------
onTintColor | 设置开关打开的背景色 | string | 无
tintColor | 设置开关关闭时的背景色 | string | 无
thumbTintColor | 设置开关关闭时的背景色 | string | 无
disabled | 开关是否可交互 | boolean | true
value | | //todo | 无
onValueChange | 值改变时调用此函数 | event | 无
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