From 0a3d976495714ff812d677a5b463967510624697 Mon Sep 17 00:00:00 2001 From: Claire Hsu Date: Fri, 15 Mar 2019 17:55:38 -0700 Subject: [PATCH] fix(Card): forwardRef to Card (#26) --- src/Card/Card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Card/Card.js b/src/Card/Card.js index bdff2a3..fc0ccd4 100644 --- a/src/Card/Card.js +++ b/src/Card/Card.js @@ -15,7 +15,7 @@ const StyledCard = createComponent({ `, }); -const Card = props => ; +const Card = React.forwardRef((props, ref) => ); Card.propTypes = { shadow: PropTypes.bool,