Comparing version 0.1.6 to 0.1.7
/** | ||
* @title 基本样式展示 | ||
* @title 基本样式Badge | ||
* @description `colors`控制背景颜色种类。 | ||
@@ -8,5 +8,5 @@ */ | ||
return ( | ||
<Badge colors="primary">primary</Badge> | ||
<Badge colors="primary">1</Badge> | ||
) | ||
} | ||
} |
@@ -16,3 +16,3 @@ | ||
/** | ||
* @title 基本样式展示 | ||
* @title 基本样式Badge | ||
* @description `colors`控制背景颜色种类。 | ||
@@ -23,3 +23,3 @@ */ | ||
return ( | ||
<Badge colors="primary">primary</Badge> | ||
<Badge colors="primary">1</Badge> | ||
) | ||
@@ -39,3 +39,3 @@ } | ||
} | ||
}var DemoArray = [{"example":<Demo1 />,"title":" 基本样式展示","code":"/**\n * @title 基本样式展示\n * @description `colors`控制背景颜色种类。\n */\nclass Demo1 extends Component {\n\trender () {\n\t\treturn (\n\t\t\t<Badge colors=\"primary\">primary</Badge>\n\t\t)\n\t}\n}","desc":" `colors`控制背景颜色种类。"},{"example":<Demo2 />,"title":" 图标Badge","code":"/**\n * @title 图标Badge\n * @description 在子元素里自定义内容\n */\nclass Demo2 extends Component {\n\trender(){\n\t\treturn (\n\t\t\t<Badge colors=\"primary\">\n\t\t\t\t<i className=\"uf uf-bellmusicaltool\"></i>\n\t\t\t</Badge>\n\t\t)\n\t}\n}","desc":" 在子元素里自定义内容"}] | ||
}var DemoArray = [{"example":<Demo1 />,"title":" 基本样式Badge","code":"/**\n * @title 基本样式Badge\n * @description `colors`控制背景颜色种类。\n */\nclass Demo1 extends Component {\n\trender () {\n\t\treturn (\n\t\t\t<Badge colors=\"primary\">1</Badge>\n\t\t)\n\t}\n}","desc":" `colors`控制背景颜色种类。"},{"example":<Demo2 />,"title":" 图标Badge","code":"/**\n * @title 图标Badge\n * @description 在子元素里自定义内容\n */\nclass Demo2 extends Component {\n\trender(){\n\t\treturn (\n\t\t\t<Badge colors=\"primary\">\n\t\t\t\t<i className=\"uf uf-bellmusicaltool\"></i>\n\t\t\t</Badge>\n\t\t)\n\t}\n}","desc":" 在子元素里自定义内容"}] | ||
@@ -42,0 +42,0 @@ |
{ | ||
"name": "bee-badge", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "bee-badge ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
896174