import { CSSProperties, ReactNode } from 'react'; import { JSX } from 'react/jsx-runtime'; import { LikeC4DiagramEventHandlers, LikeC4DiagramProperties } from './LikeC4Diagram.props'; import type * as t from '@likec4/core/types'; export type ReactLikeC4Props = { viewId: t.aux.ViewId; /** * Layout to display * - `auto`: auto-layouted from the current sources * - `manual`: manually layouted (if available, falls back to `auto`) * * Uncontrolled initial value, use `onLayoutTypeChange` to control it. * * @default 'manual' */ layoutType?: t.LayoutType | undefined; /** * Keep aspect ratio of the diagram * * @default false */ keepAspectRatio?: boolean | undefined; /** * By default determined by the user's system preferences. */ colorScheme?: 'light' | 'dark' | undefined; /** * LikeC4 views are using 'IBM Plex Sans Variable' font. * By default, component injects the CSS to document head. * Set to false if you want to handle the font yourself. * * @default true */ injectFontCss?: boolean | undefined; style?: CSSProperties | undefined; mantineTheme?: any; /** Function to generate nonce attribute added to all generated `