= ({
iconName = 'it-code-circle',
icon = 'it-code-circle',
iconTitle = '',
label = ' ',
past,
now,
nowText,
testId,
className,
tag = 'h3',
...attributes
}) => {
const { children, ...rest } = attributes;
const classes = classNames('timeline-element', className);
const innerClasses = classNames('it-pin-wrapper', className, {
'it-evidence': past,
'it-now': now
});
const pinIcon = (
);
const pinLabel = (
{label}
);
const pinTextNow = now && {nowText};
const Tag = tag;
return (
{pinTextNow}
{pinIcon}
{pinLabel}
{children}
);
};