import React from 'react';
import NavLink from 'react-router-dom/NavLink';
import { FormattedMessage } from 'react-intl';
export const links = [
  ,
  ,
  ,
  ,
  ,
  ,
];
export function getIndex (path) {
  return links.findIndex(link => link.props.to === path);
}
export function getLink (index) {
  return links[index].props.to;
}
export default class TabsBar extends React.Component {
  render () {
    return (
      
        {React.Children.toArray(links)}
      
    );
  }
}