Merge pull request #3400 from wbkd/svelte-flow-minimap-style
[fix](svelte) exposed style for MiniMap
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
export let zoomable: $$Props['zoomable'] = true;
|
||||
export let inversePan: $$Props['inversePan'] = undefined;
|
||||
export let zoomStep: $$Props['zoomStep'] = undefined;
|
||||
export let style: $$Props['style'] = '';
|
||||
|
||||
let className: $$Props['class'] = '';
|
||||
export { className as class };
|
||||
@@ -82,6 +83,7 @@
|
||||
|
||||
<Panel
|
||||
{position}
|
||||
{style}
|
||||
class={cc(['svelte-flow__minimap', className])}
|
||||
data-testid="svelte-flow__minimap"
|
||||
>
|
||||
|
||||
@@ -16,6 +16,7 @@ export type MiniMapProps = {
|
||||
maskStrokeWidth?: number;
|
||||
position?: PanelPosition;
|
||||
class?: string;
|
||||
style?: string;
|
||||
ariaLabel?: string | null;
|
||||
width?: number;
|
||||
height?: number;
|
||||
|
||||
Reference in New Issue
Block a user