Browse Source

Remove unused ChildSwitch component

master
meriadec 7 years ago
parent
commit
21e6bcea76
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 5
      src/components/base/ChildSwitch.js

5
src/components/base/ChildSwitch.js

@ -1,5 +0,0 @@
// @flow
import { Children } from 'react'
export default ({ children, index }: { children: React$Node, index: number }): ?React$Node =>
Children.toArray(children)[index] || null
Loading…
Cancel
Save