Skip to content

OverlayInputOrFactory

OverlayInputOrFactory = OverlayInput | ((props) => OverlayConfig)

Defined in: asset.ts:554

A value accepted by createOverlays: a static input or a config factory. The factory arm uses a never parameter so a factory with any concrete props type is assignable (function parameters are contravariant); OverlayControllerFor then recovers the real props type per key.