0
0
Fork 0

Upgrade ESLint to version 4.x (#6276)

This commit is contained in:
Yamagishi Kazutoshi 2018-01-18 00:57:15 +09:00 committed by Eugen Rochko
parent fb16c37d2a
commit 0a103c7749
19 changed files with 411 additions and 388 deletions

View file

@ -93,7 +93,7 @@ export default class IconButton extends React.PureComponent {
return (
<Motion defaultStyle={{ rotate: active ? -360 : 0 }} style={{ rotate: animate ? spring(active ? -360 : 0, { stiffness: 120, damping: 7 }) : 0 }}>
{({ rotate }) =>
{({ rotate }) => (
<button
aria-label={title}
aria-pressed={pressed}
@ -106,7 +106,7 @@ export default class IconButton extends React.PureComponent {
>
<i style={{ transform: `rotate(${rotate}deg)` }} className={`fa fa-fw fa-${icon}`} aria-hidden='true' />
</button>
}
)}
</Motion>
);
}