import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import cx from "classnames";
import { withTheme } from "@gooddata/sdk-ui-theme-provider";
import { Icon } from "../Icon/index.js";
function WorkspacePickerHomeFooterComponent({ children, className, href, onClick, theme, }) {
    const mergedClassNames = cx("gd-workspace-picker-home-footer", className);
    const HomeIcon = Icon["Home"];
    return (_jsxs("a", { className: mergedClassNames, "data-testid": "s-workspace-picker-home-footer", href: href, onClick: onClick, children: [_jsx(HomeIcon, { className: "gd-icon-home", width: 20, height: 20, color: theme?.palette?.complementary?.c7, ariaHidden: true }), children] }));
}
/**
 * @internal
 */
export const WorkspacePickerHomeFooter = withTheme(WorkspacePickerHomeFooterComponent);
//# sourceMappingURL=WorkspacePickerHomeFooter.js.map