text: /**
   * @flow
   */
  
  import React from 'react';
  import { SectionList } from '../../components';
  import type { RouterType } from '../../routes/routes.types';
  
  type ModuleAnimationsProps = {
    routes: RouterType,
    routeId: string
  }
  
  export function ModuleAnimations(props: ModuleAnimationsProps): React$Node {
    const { routes, routeId } = props;
  
    return (
      <SectionList
        data={routes.filter((route) => route.father === routeId)}
      />
    );
  }
  