Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Breadcrumb]: Implement component. #25

Closed
hallister opened this issue Nov 18, 2015 · 1 comment
Closed

[Breadcrumb]: Implement component. #25

hallister opened this issue Nov 18, 2015 · 1 comment
Labels

Comments

@hallister
Copy link
Owner

Since breadcrumbs and a router go hand in hand, it's probably better to either port react-breadcrumbs or just use it and pass classes by hand.

@loris
Copy link
Contributor

loris commented Jun 18, 2016

I added some props to react-breadcrumbs (see PR) a few weeks ago to make it compatible with Semantic UI markup. Now you can use it this way:

import React from 'react';
import { Icon } from 'semantic-react';
import Breadcrumbs from 'react-breadcrumbs';

const Breadcrumb = props =>
  <Breadcrumbs
    {...props}
    separator={<Icon name="right angle divider" />}
    wrapperClass="ui breadcrumb"
    itemClass="section"
    activeItemClass="active"
  />;

export default Breadcrumb;

asvetliakov added a commit that referenced this issue Jul 31, 2016
Removed icon prop from breadcrumb divider, now support icon as child
Adjusted examples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants