import React from "react";
import * as styles from "./styles";
export const TitleHeader = ({ title }) => {
    if (title === false) {
        return null;
    }
    return (React.createElement("h1", { "data-testid": "sdk-title", className: styles.title }, title));
};
/**
 * @deprecated This component will be removed once all SDKs have been migrated to the new design system.
 */
export const TitleHeaderDeprecated = ({ title, }) => {
    if (title === false) {
        return null;
    }
    return (React.createElement("h1", { "data-cy": "sdk-title", className: styles.titleDeprecated }, title));
};
//# sourceMappingURL=index.js.map