Skip to content

Commit

Permalink
feat(Card): support style and other props
Browse files Browse the repository at this point in the history
  • Loading branch information
kradio3 committed Jan 25, 2017
1 parent 933a92d commit dff7be1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Card/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ const propTypes = {
children: PropTypes.node,
};

const Card = ({ className, children }) => (
const Card = ({ className, children, ...otherProps }) => (
<div
className={classnames('mdc-card', className)}
{...otherProps}
>
{children}
</div>
Expand Down

0 comments on commit dff7be1

Please sign in to comment.