meriadec
7 years ago
1 changed files with 0 additions and 5 deletions
@ -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…
Reference in new issue