diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-05-09 11:25:33 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-05-09 11:25:33 -0400 |
| commit | 8ed7d5b734ba588fe0570e0e22f21a0fcda13422 (patch) | |
| tree | 54bf1cf6370eeae7e3217f26a49e6b021ae7d8a7 /frontend/components/CartCount.js | |
| parent | ad3671675719eb11a81245bffbe0fb18880b479b (diff) | |
Moving styles to folder
Diffstat (limited to 'frontend/components/CartCount.js')
| -rw-r--r-- | frontend/components/CartCount.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/frontend/components/CartCount.js b/frontend/components/CartCount.js index 1cc4e47..525ed22 100644 --- a/frontend/components/CartCount.js +++ b/frontend/components/CartCount.js @@ -44,7 +44,13 @@ const AnimationStyles = styled.span` const CartCount = ({ count }) => ( <AnimationStyles> <TransitionGroup> - <CSSTransition unmountOnExit className="count" classNames="count" key={count} timeout={{ enter: 400, exit: 400 }}> + <CSSTransition + unmountOnExit + className="count" + classNames="count" + key={count} + timeout={{ enter: 400, exit: 400 }} + > <Dot>{count}</Dot> </CSSTransition> </TransitionGroup> |
