import React from 'react';
import { Tooltip } from '@wix/design-system';
export function MaybeTooltip(props) {
    const { content, children, ...rest } = props;
    if (!content) {
        return React.createElement(React.Fragment, null, children);
    }
    return (React.createElement(Tooltip, { content: content, ...rest }, children));
}
//# sourceMappingURL=MaybeTooltip.js.map