import * as React from 'react';

import s from './Tabs.module.scss';

interface ITabsProps {
  children: React.ReactNode;
}

export default class Tabs extends React.Component<ITabsProps> {
  render() {
    const { children } = this.props;

    return (
      <div className={s.tabs}>
        <ul className={s.tabs__list}>{children}</ul>
      </div>
    );
  }
}
