// @flow
import * as React from 'react';
import Tooltip from '../tooltip';
import LabelPrimitive from './LabelPrimitive';
type Props = {
children: React.Node,
labelContent: React.Node,
tooltip?: React.Node,
};
const StandardLabel = ({ children, labelContent, tooltip }: Props) => {
const label = {children};
return tooltip ? (
{label}
) : (
label
);
};
export default StandardLabel;