Skip to Content
πŸ“£ We just released Svelte Flow 1.0 Alpha β€” try it out and give us your feedback!
ReferenceTypesBackgroundVariant

BackgroundVariant

The three variants are exported as an enum for convenience. You can either import the enum and use it like BackgroundVariant.Lines or you can use the raw string value directly.

export enum BackgroundVariant { Lines = 'lines', Dots = 'dots', Cross = 'cross', }
Last updated on