import React from 'react';
import Text from '../../Text';
import { dataHooks } from '../constants';
import { classes } from './FunnelLabel.st.css.js';
export const FunnelLabel = ({ value, label, displayValue }) => {
    const numberToPresent = displayValue ? displayValue : value;
    return (React.createElement("div", { className: classes.root },
        React.createElement(Text, { dataHook: dataHooks.labelText, size: "tiny", weight: "normal", secondary: true, ellipsis: true, tooltipProps: { size: 'small' } }, label),
        React.createElement(Text, { dataHook: dataHooks.labelValue, size: "medium", weight: "bold", ellipsis: true }, numberToPresent)));
};
//# sourceMappingURL=FunnelLabel.js.map