Skip to content

Commit

Permalink
move spread
Browse files Browse the repository at this point in the history
  • Loading branch information
jbadan committed Jan 16, 2019
1 parent 0d8c5b6 commit 12e943e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Breadcrumb/Breadcrumb.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import { BrowserRouter, Link } from 'react-router-dom';

export const Breadcrumb = ({ children, ...props }) => {
return <ul className='fd-breadcrumb' {...props}>{children}</ul>;
return <ul {...props} className='fd-breadcrumb'>{children}</ul>;
};

Breadcrumb.propTypes = {
Expand Down
2 changes: 1 addition & 1 deletion src/Breadcrumb/__snapshots__/Breadcrumb.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`<Breadcrumb /> create breadcrumbs using router links 1`] = `
<ul
className="blue"
className="fd-breadcrumb"
>
<li
className="fd-breadcrumb__item blue"
Expand Down

0 comments on commit 12e943e

Please sign in to comment.