Nancy's Preferred Machete
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

uxcore-crumb

0.2.6 • Public • Published

uxcore-crumb Dependency Status devDependency Status

TL;DR

uxcore-crumb ui component for react

setup develop environment

$ git clone https://github.com/uxcore/uxcore-crumb
cd uxcore-crumb
$ npm install
$ gulp server

Usage

var Crumb = require('uxcore-crumb');
 
React.render(
  (
    <Crumb className="crumb-style crumb-root">
      <Crumb.Item href="#" className="crumb-item-style">首页</Crumb.Item>
      <Crumb.Item href="#">管理平台</Crumb.Item>
      <Crumb.Item href="#">流程管理</Crumb.Item>
      <Crumb.Item className="crumb-item-style">编辑流程信息</Crumb.Item>
    </Crumb>
  ),
  document.getElementById('demo'));

demo

http://uxcore.github.io/uxcore/components/uxcore-crumb/

API

Props

Crumb

配置项 类型 必填 默认值 功能/备注
className String Option ''

Crumb.Item

配置项 类型 必填 默认值 功能/备注
className String Option ''
href String Option '' 链接,如不传则不可点击

install

npm i uxcore-crumb

Downloadsweekly downloads

18

version

0.2.6

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability