FlowFit
Fit a Svelte Flow viewport..
Fit a Svelte Flow viewport.
Public import
svelte
<script lang="ts">
import { FlowFit } from "rom-ui/flow";
import "rom-studio/styles";
</script> Composition and responsibility
The host supplies data, callbacks and application policy. The component does not provide persistence or authorization.
Public names: FlowFit.
Declared props
This declaration comes from the installed package. Imported types retain their upstream meaning.
ts
type Props = {
signature: unknown;
focusIds?: readonly string[];
active?: boolean;
padding?: number;
minZoom?: number;
maxZoom?: number;
duration?: number;
}; Source and version
ROM UI 0.1.0-alpha.7. Component source.
Install the optional @xyflow/svelte peer before mounting flow components.
See the composition guide for host integration boundaries.
This page follows the captured repository source.View the source