{"_id":"m-badge","_rev":"6-d9b19091466fd86d5ef62bf658de5506","name":"m-badge","description":"badge in mobile","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"m-badge","version":"1.0.0","description":"badge in mobile","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/59fe/m-badge.git"},"keywords":["badge","mobile","react"],"author":{"name":"半边"},"license":"ISC","bugs":{"url":"https://github.com/59fe/m-badge/issues"},"homepage":"https://github.com/59fe/m-badge","gitHead":"12bfe98b0a25a78f1fe203105733badf6928c476","_id":"m-badge@1.0.0","_shasum":"dfa06f3e5f380551ca3edf4e3e948116e25cc1f5","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"mickey-","email":"itaofe@gmail.com"},"dist":{"shasum":"dfa06f3e5f380551ca3edf4e3e948116e25cc1f5","tarball":"https://registry.npmjs.org/m-badge/-/m-badge-1.0.0.tgz","integrity":"sha512-QoFVOeEGj5GMOyzCTF/MWinG2mEBGZwF6bQuvWUl0OPEgW25HxE1T3Lb0zs0PM1Okl+3v+F8tLENjQICz2PsyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq77FwiygPS/9dAl/SoD6p5at75lnV6eeGunHlL7f+tQIhAOMiPffOtu0hbayDeMFJ1y9rCFy8dNZk+UOMdRnPA4xR"}]},"maintainers":[{"name":"mickey-","email":"itaofe@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/m-badge-1.0.0.tgz_1469072693264_0.15913218935020268"}},"1.0.1":{"name":"m-badge","version":"1.0.1","description":"badge in mobile","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/59fe/m-badge.git"},"keywords":["badge","mobile","react"],"author":{"name":"半边"},"license":"ISC","bugs":{"url":"https://github.com/59fe/m-badge/issues"},"homepage":"https://github.com/59fe/m-badge","dependencies":{"m-base":"^1.0.0"},"gitHead":"6f9ab46406baf133a5ab4b92cc7fb0e252a73ca9","_id":"m-badge@1.0.1","_shasum":"0915745fcabc511d9b793505919478e071375029","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"mickey-","email":"itaofe@gmail.com"},"dist":{"shasum":"0915745fcabc511d9b793505919478e071375029","tarball":"https://registry.npmjs.org/m-badge/-/m-badge-1.0.1.tgz","integrity":"sha512-EDwCrw5s6LTskRLsa3U9V3ZdPzVGa4qWvJV4O27nEGZTs7QRefqCCiTCBjDcBPwye4/LygMao63gwB58o2ncDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxZ0k2Icg7EskGPDdc+KonGnow3LdaE9V97/u8ZtS6cAIhAOuZFKkeBsYJ9B1kzhOwLXRnbSWn3oBf7DvttI6M8GJb"}]},"maintainers":[{"name":"mickey-","email":"itaofe@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/m-badge-1.0.1.tgz_1469073484637_0.30849176831543446"}},"1.0.2":{"name":"m-badge","version":"1.0.2","description":"badge in mobile","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/59fe/m-badge.git"},"keywords":["badge","mobile","react"],"author":{"name":"半边"},"license":"Apache-2.0","bugs":{"url":"https://github.com/59fe/m-badge/issues"},"homepage":"https://github.com/59fe/m-badge","dependencies":{"react":"~15.2.0","m-base":"^1.0.0","classnames":"~2.2.3"},"gitHead":"3d6a70b545244593e67e1c4fe776ddf320e6b46e","_id":"m-badge@1.0.2","_shasum":"78974e2632dd5f04351d99330ac1b1e381fa662d","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"mickey-","email":"itaofe@gmail.com"},"dist":{"shasum":"78974e2632dd5f04351d99330ac1b1e381fa662d","tarball":"https://registry.npmjs.org/m-badge/-/m-badge-1.0.2.tgz","integrity":"sha512-1c1dgR2Up4nTwE5wwyiP805UyUxh6yCWt+7mvSsCTR3Xen+/sYGsXFMR65Ol+8W1tjyqpOoijFUX/ZSTqTI8ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEsFgWbk3LhMkfyt+F29NYjsCG90vCY6dnZDHMQmBbSAAiBhsmTl4RLClFR69OffZzQhxE/AZJslUFRCSblkwCdbbg=="}]},"maintainers":[{"name":"mickey-","email":"itaofe@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/m-badge-1.0.2.tgz_1469173302137_0.21802558796480298"}},"1.0.3":{"name":"m-badge","version":"1.0.3","description":"badge in mobile","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/59fe/m-badge.git"},"keywords":["badge","mobile","react"],"author":{"name":"半边"},"license":"Apache-2.0","bugs":{"url":"https://github.com/59fe/m-badge/issues"},"homepage":"https://github.com/59fe/m-badge","dependencies":{"react":"~15.2.0","m-base":"^1.0.0","classnames":"~2.2.3"},"gitHead":"408a0558863bf483f40fcbe9fefbffff12253200","_id":"m-badge@1.0.3","_shasum":"e276ed41ab62d044a92d65acd07978748e12b10e","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"mickey-","email":"itaofe@gmail.com"},"dist":{"shasum":"e276ed41ab62d044a92d65acd07978748e12b10e","tarball":"https://registry.npmjs.org/m-badge/-/m-badge-1.0.3.tgz","integrity":"sha512-qH0NlK8UqqM9HUCIn/NfBVDZidDn9rRmyXjkEWM/WVRF0aVLS1y1ak1b+iy0+Q/Hmk4RGfonwVRufbSfJOhIjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtUT4JVl5qOpIeLA0syUT6hI57fGLcGzmSQhAKksoYWwIgGNOg3txltVCWz6s7rL8xhK645yOsaaaSCdYAXSfpTMg="}]},"maintainers":[{"name":"mickey-","email":"itaofe@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/m-badge-1.0.3.tgz_1469434853085_0.04563373792916536"}}},"readme":"# Badge\n\n---\n\n徽章用于表示一个入口的信息提示。\n\n## 何时使用\n\n标记了一个信息提示，表示有未关注的内容。\n\n\n## API\n\n- 通过设置 Badge 的属性来产生不同的徽章样式，推荐顺序为：`bgcolor` -> `color`\n\n- 徽章的属性说明如下：\n\n属性 | 说明 | 类型 | 默认值\n-----|-----|-----|------\nbgcolor | 设置徽章提示的背景色，可选值为任何合法的CSS颜色值|string|undefined\ncolor | 设置徽章提示的字体色，可选值为任何合法的CSS颜色值|string|undefined\n\n\n- `<Badge/>` 因为没有子内容，会渲染为一个小红点，可以通过`bgcolor`属性改为任意颜色的圆点\n- `<Badge>1</Badge>,<Badge>New</Badge>` 因为传入了子内容，会展示为一个徽章提示\n","maintainers":[{"name":"mickey-","email":"itaofe@gmail.com"}],"time":{"modified":"2022-06-19T14:56:52.065Z","created":"2016-07-21T03:44:54.884Z","1.0.0":"2016-07-21T03:44:54.884Z","1.0.1":"2016-07-21T03:58:07.297Z","1.0.2":"2016-07-22T07:41:44.156Z","1.0.3":"2016-07-25T08:20:53.330Z"},"homepage":"https://github.com/59fe/m-badge","keywords":["badge","mobile","react"],"repository":{"type":"git","url":"https://github.com/59fe/m-badge.git"},"author":{"name":"半边"},"bugs":{"url":"https://github.com/59fe/m-badge/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}