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

bee-badge

Package Overview
Dependencies
Maintainers
14
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 1.1.3 to 2.0.0

0

build/Badge.js

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ import Badge from '../src';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import {Col, Row} from 'bee-layout';

2

demo/index.js

@@ -13,3 +13,3 @@ import {Col, Row} from 'bee-layout';

var Demo1 = require("./demolist/Demo1");var Demo2 = require("./demolist/Demo2");var DemoArray = [{"example":<Demo1 />,"title":" 基本样式Badge","code":"/**\r\n * @title 基本样式Badge\r\n * @description `colors`控制背景颜色种类。\r\n */\r\n\r\nimport React, { Component } from 'react';\r\nimport { Badge } from 'tinper-bee';\r\n\r\n class Demo1 extends Component {\r\n\trender () {\r\n\t\treturn (\r\n\t\t\t<Badge colors=\"primary\" >8</Badge>\r\n\t\t)\r\n\t}\r\n}\r\n","desc":" `colors`控制背景颜色种类。"},{"example":<Demo2 />,"title":" 图标Badge","code":"/**\r\n * @title 图标Badge\r\n * @description 在子元素里自定义内容\r\n */\r\n\r\nimport React, {Component} from 'react';\r\n\nimport { Badge, Icon } from 'tinper-bee';\r\n\r\nclass Demo2 extends Component {\r\n render() {\r\n return (\r\n <div>\r\n <Badge dataBadge={4} dataBadgePlacement=\"bottom\">\r\n <Icon type=\"uf-bell\"/>\r\n </Badge>\r\n <Badge dataBadge={4} colors=\"warning\" dataBadgePlacement=\"up\">\r\n <Icon type=\"uf-bell\"/>\r\n </Badge>\r\n </div>\r\n )\r\n }\r\n}\r\n\r\n","desc":" 在子元素里自定义内容"}]
var Demo1 = require("./demolist/Demo1");var Demo2 = require("./demolist/Demo2");var DemoArray = [{"example":<Demo1 />,"title":" 基本样式Badge","code":"/**\n * @title 基本样式Badge\n * @description `colors`控制背景颜色种类。\n */\n\nimport React, { Component } from 'react';\nimport { Badge } from 'tinper-bee';\n\n class Demo1 extends Component {\n\trender () {\n\t\treturn (\n\t\t\t<Badge colors=\"primary\" >8</Badge>\n\t\t)\n\t}\n}\n","desc":" `colors`控制背景颜色种类。"},{"example":<Demo2 />,"title":" 图标Badge","code":"/**\n * @title 图标Badge\n * @description 在子元素里自定义内容\n */\n\nimport React, {Component} from 'react';\nimport { Badge, Icon } from 'tinper-bee';\n\nclass Demo2 extends Component {\n render() {\n return (\n <div>\n <Badge dataBadge={4} dataBadgePlacement=\"bottom\">\n <Icon type=\"uf-bell\"/>\n </Badge>\n <Badge dataBadge={4} colors=\"warning\" dataBadgePlacement=\"up\">\n <Icon type=\"uf-bell\"/>\n </Badge>\n </div>\n )\n }\n}\n\n","desc":" 在子元素里自定义内容"}]

@@ -16,0 +16,0 @@

@@ -0,0 +0,0 @@ ## Tile

@@ -0,0 +0,0 @@ ## Badge

@@ -0,0 +0,0 @@ var gulp = require('gulp');

{
"name": "bee-badge",
"version": "1.1.3",
"version": "2.0.0",
"description": "bee-badge ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

@@ -0,0 +0,0 @@ # bee-badge

@@ -0,0 +0,0 @@ import React from 'react';

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

@@ -0,0 +0,0 @@ import React from 'react';

@@ -0,0 +0,0 @@ import jsdom from 'jsdom';

@@ -0,0 +0,0 @@ var fs = require('fs');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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