import { AppId } from "./apps-config.js"; import * as react_jsx_runtime0 from "react/jsx-runtime"; import React from "react"; //#region src/apps/apps-ui.d.ts declare const appSquareWidthExpression = "max(min(11vw,180px),80px)"; declare const appSquarePaddingExpression = "max(min(1vw,1.5rem),0.25rem)"; type AppIconProps = { appId: AppId; /** * Icon component from the app frontend config */ IconComponent: React.FunctionComponent>; /** * Optional logo component from the app frontend config */ LogoComponent?: React.FunctionComponent<{}>; className?: string; /** * Whether this app is enabled/installed (shows green icon) */ enabled?: boolean; /** * Whether this app is disabled (shows dashed border) */ disabled?: boolean; style?: React.CSSProperties; /** * cn utility function for className merging (e.g., from stack-ui or tailwind-merge) */ cn: (...inputs: any[]) => string; }; declare function AppIcon({ appId, IconComponent, LogoComponent, className, enabled, disabled, style, cn }: AppIconProps): react_jsx_runtime0.JSX.Element; //#endregion export { AppIcon, AppIconProps, appSquarePaddingExpression, appSquareWidthExpression }; //# sourceMappingURL=apps-ui.d.ts.map