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

bee-badge

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bee-badge - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

4

demo/demolist/Demo1.js
/**
* @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

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