diff --git a/components.json b/components.json index 838a8444c..52e0653db 100644 --- a/components.json +++ b/components.json @@ -2,5 +2,6 @@ "sample": "./packages/sample/index.js", "button": "./packages/button/index.js", "switch": "./packages/switch/index.js", - "field": "./packages/field/index.js" + "field": "./packages/field/index.js", + "radio": "./packages/radio/index.js" } diff --git a/packages/radio/CHANGELOG.md b/packages/radio/CHANGELOG.md new file mode 100644 index 000000000..e88c472b3 --- /dev/null +++ b/packages/radio/CHANGELOG.md @@ -0,0 +1,8 @@ +## 0.0.2 (2017-01-20) + +* 改了bug A +* 加了功能B + +## 0.0.1 (2017-01-10) + +* 第一版 diff --git a/packages/radio/README.md b/packages/radio/README.md new file mode 100644 index 000000000..4c6172563 --- /dev/null +++ b/packages/radio/README.md @@ -0,0 +1,26 @@ +# @youzan/<%= name %> + +!!! 请在此处填写你的文档最简单描述 !!! + +[![version][version-image]][download-url] +[![download][download-image]][download-url] + +[version-image]: http://npm.qima-inc.com/badge/v/@youzan/<%= name %>.svg?style=flat-square +[download-image]: http://npm.qima-inc.com/badge/d/@youzan/<%= name %>.svg?style=flat-square +[download-url]: http://npm.qima-inc.com/package/@youzan/<%= name %> + +## Demo + +## Usage + +## API + +| 参数 | 说明 | 类型 | 默认值 | 可选值 | +|-----------|-----------|-----------|-------------|-------------| +| className | 自定义额外类名 | string | '' | '' | + + + + +## License +[MIT](https://opensource.org/licenses/MIT) diff --git a/packages/radio/index.js b/packages/radio/index.js new file mode 100644 index 000000000..28c69693a --- /dev/null +++ b/packages/radio/index.js @@ -0,0 +1,3 @@ +import Radio from './src/radio'; + +export default Radio; diff --git a/packages/radio/package.json b/packages/radio/package.json new file mode 100644 index 000000000..7dbfa2900 --- /dev/null +++ b/packages/radio/package.json @@ -0,0 +1,10 @@ +{ + "name": "<%= name %>", + "version": "<%= version %>", + "description": "<%= description %>", + "main": "./lib/index.js", + "author": "<%= author %>", + "license": "<%= license %>", + "devDependencies": {}, + "dependencies": {} +} diff --git a/packages/radio/src/radio.vue b/packages/radio/src/radio.vue new file mode 100644 index 000000000..789b41ee4 --- /dev/null +++ b/packages/radio/src/radio.vue @@ -0,0 +1,11 @@ + + +