ShapeLayerOptions
Type Alias: ShapeLayerOptions
ShapeLayerOptions =
object
Options for ShapeLayer.
Properties
hover?
optionalhover?:ShapeHoverStyle|false
Hover appearance. Omit for the default cue (a slightly stronger fill and
outline); pass a ShapeHoverStyle for absolute overrides; pass false
to disable the highlight while keeping the pointer cursor and click events.
interactive?
optionalinteractive?:boolean
Wire click events and hover styling (pointer cursor + highlight). Default
true. Set false for purely decorative, non-interactive shapes.