Skip to content

Commit

Permalink
fix(react-lists): Allow InlineList to take a className.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meskers <pmeskers@pivotal.io>
  • Loading branch information
mdelillo authored and Paul Meskers committed Feb 2, 2015
1 parent 8444ba6 commit 02bb247
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pivotal-ui/javascripts/lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ var InlineList = React.createClass({
});
if (spacing) { classes += ' lh' + spacing; }

if (this.props.className) {
classes += ' ' + this.props.className;
}

return (
<ul className={classes}>{children}</ul>
);
Expand Down

0 comments on commit 02bb247

Please sign in to comment.