function Statistic(props) {
  var children = props.children,
      className = props.className,
      color = props.color,
      floated = props.floated,
      horizontal = props.horizontal,
      inverted = props.inverted,
      label = props.label,
      size = props.size,
      text = props.text,
      value = props.value;


  var classes = cx('ui', color, size, useValueAndKey(floated, 'floated'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), 'statistic', className);
  var rest = getUnhandledProps(Statistic, props);
  var ElementType = getElementType(Statistic, props);

  if (!childrenUtils.isNil(children)) return React.createElement(
    ElementType,
    _extends({}, rest, { className: classes }),
    children
  );

  return React.createElement(
    ElementType,
    _extends({}, rest, { className: classes }),
    React.createElement(StatisticValue, { text: text, value: value }),
    React.createElement(StatisticLabel, { label: label })
  );
}
/**
 * A statistic emphasizes the current value of an attribute.
 */
A statistic emphasizes the current value of an attribute.
A statistic emphasizes the current value of an attribute .
function Statistic(props) {
  var children = props.children,
      className = props.className,
      color = props.color,
      floated = props.floated,
      horizontal = props.horizontal,
      inverted = props.inverted,
      label = props.label,
      size = props.size,
      text = props.text,
      value = props.value;
  var classes = cx('ui', color, size, useValueAndKey(floated, 'floated'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), 'statistic', className);
  var rest = getUnhandledProps(Statistic, props);
  var ElementType = getElementType(Statistic, props);
  if (!childrenUtils.isNil(children)) return React.createElement(
    ElementType,
    _extends({}, rest, { className: classes }),
    children
  );
  return React.createElement(
    ElementType,
    _extends({}, rest, { className: classes }),
    React.createElement(StatisticValue, { text: text, value: value }),
    React.createElement(StatisticLabel, { label: label })
  );
}
function Statistic ( props ) { var children = props . children , className = props . className , color = props . color , floated = props . floated , horizontal = props . horizontal , inverted = props . inverted , label = props . label , size = props . size , text = props . text , value = props . value ; var classes = cx ( 'ui' , color , size , useValueAndKey ( floated , 'floated' ) , useKeyOnly ( horizontal , 'horizontal' ) , useKeyOnly ( inverted , 'inverted' ) , 'statistic' , className ) ; var rest = getUnhandledProps ( Statistic , props ) ; var ElementType = getElementType ( Statistic , props ) ; if ( ! childrenUtils . isNil ( children ) ) return React . createElement ( ElementType , _extends ( { } , rest , { className : classes } ) , children ) ; return React . createElement ( ElementType , _extends ( { } , rest , { className : classes } ) , React . createElement ( StatisticValue , { text : text , value : value } ) , React . createElement ( StatisticLabel , { label : label } ) ) ; }
A statistic emphasizes the current value of an attribute.
A statistic emphasizes the current value of an attribute .