import React from 'react';

import { forwardRef } from '../utils/react';
import { Box } from '../box';

/*-- Types --*/

export interface StatTextProps {}

/*-- Main --*/

export const StatText = forwardRef<'div', StatTextProps>(function Stat(
  { children, ...rest },
  ref,
) {
  return (
    <Box ref={ref} {...rest}>
      {children}
    </Box>
  );
});
