/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ import type { ReactNode } from "react"; import React from "react"; import { Text } from "@itwin/itwinui-react"; import "./HorizontalTile.scss"; import classNames from "classnames"; interface HorizontalTileProps extends React.ComponentPropsWithoutRef<"div"> { title: string; button: ReactNode; subText?: string; onClickTitle?: () => void; titleTooltip?: string; subtextToolTip?: string; selected: boolean; } export const HorizontalTile = ({ title, subText, onClickTitle, titleTooltip, subtextToolTip, button, selected, ...rest }: HorizontalTileProps) => { return (