IQrCodeSlots

interface
Data Display

Slots contract for <OrigamQrCode>. The center slot replaces the default icon/image overlay. When provided, both icon and image props are ignored.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

center
(bindings: { size: number }) => any
Replaces the default icon or image overlay. Receives the resolved size of the central reserved square in module units so the consumer can paint a custom SVG or icon without re-deriving the geometry.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Custom center overlay with brand logo

html