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

@ -66,11 +66,11 @@ export default class ListEditor extends ImmutablePureComponent {
{showSearch && <div role='button' tabIndex='-1' className='drawer__backdrop' onClick={onClear} />}
<Motion defaultStyle={{ x: -100 }} style={{ x: spring(showSearch ? 0 : -100, { stiffness: 210, damping: 20 }) }}>
{({ x }) =>
{({ x }) => (
<div className='drawer__inner backdrop' style={{ transform: x === 0 ? null : `translateX(${x}%)`, visibility: x === -100 ? 'hidden' : 'visible' }}>
{searchAccountIds.map(accountId => <Account key={accountId} accountId={accountId} />)}
</div>
}
)}
</Motion>
</div>
</div>