import React from 'react';
import Points from './Points';
import CurrentRingDetail from './CurrentRingDetail';
import { RingProps } from '../../../model/components/ring';

const CurrentRing: React.FC<RingProps> = ({ ring, user }) => (
  <section className="currentRingPage">
    <Points user={user} />
    <CurrentRingDetail ring={ring} user={user} />
  </section>
);

export default CurrentRing;
