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

nuke-components

Package Overview
Dependencies
Maintainers
4
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-components - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

docs/scrollview.md

4

docs/image.md

@@ -5,3 +5,3 @@ # 图片

普通按钮。
必须指定宽高

@@ -26,3 +26,3 @@ ---

<View style={{height:'200rem'}}>
<Image source={{uri: '//img.alicdn.com/tps/TB1l8ZsNpXXXXaQXVXXXXXXXXXX-160-280.jpg'}} style={{width: '160rem',height: '280rem',}} resizeMode={'cover'}/>
<Image source={{uri: 'https://img.alicdn.com/tps/TB1l8ZsNpXXXXaQXVXXXXXXXXXX-160-280.jpg'}} style={{width: '160rem',height: '280rem',}} resizeMode={'cover'}/>
</View>

@@ -29,0 +29,0 @@ )

@@ -1,6 +0,6 @@

# 切换组件
# 开关切换
- order: 0
text
开关切换,受控用法

@@ -7,0 +7,0 @@ ---

@@ -1,6 +0,6 @@

# 文字类型
# 文字
- order: 0
text
文本

@@ -7,0 +7,0 @@ ---

@@ -5,3 +5,3 @@ # TouchableHighlight

text
可点击容器

@@ -28,4 +28,4 @@ ---

<TouchableHighlight onPress={this.press.bind(this)}>
<View style={{backgroundColor:'blue',height:'30rem',justifyContent:'center',alignItems:'center'}}>
<Text style={{color:'#ffffff'}}>摸我</Text>
<View style={{backgroundColor:'#3089dc',height:'30rem',justifyContent:'center',alignItems:'center'}}>
<Text style={{color:'#ffffff'}}>点击</Text>

@@ -32,0 +32,0 @@ </View>

@@ -5,3 +5,3 @@ # Video

text
video组件

@@ -26,3 +26,3 @@ ---

<View style={{backgroundColor:'grey',height:'200rem',justifyContent:'center',alignItems:'center'}}>
<Video autoPlay src="//path/to/url" />
<Video autoPlay src="http://cloud.video.taobao.com/play/u/2046440196/p/1/e/6/t/1/50106183.mp4" />

@@ -29,0 +29,0 @@ </View>

@@ -1,6 +0,6 @@

# View
# View Demo
- order: 0
普通按钮。
普通容器

@@ -7,0 +7,0 @@ ---

# Changelog
## 0.2.8 / 2017-02-22
* [[ab3276d](http://gitlab.alibaba-inc.com/nuke/components/commit/ab3276d204a1f275a15e2d71ba76fdafe9c30299)] - `docs` update docs
## 0.2.7 / 2017-02-17

@@ -5,0 +9,0 @@

{
"name": "nuke-components",
"version": "0.2.7",
"version": "0.2.8",
"description": "nuke原件库",

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

@@ -5,3 +5,3 @@ /** @jsx createElement */

import Modal from 'nuke-modal';
let App = class NukeDemoIndex extends Component {

@@ -15,2 +15,3 @@ constructor() {

focus = (e)=>{
Modal.alert(this.refs.input);
this.refs.input.focus();

@@ -17,0 +18,0 @@ }

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