Skip to content

Add support for custom mask

Compare
Choose a tag to compare
@alfrdmalr alfrdmalr released this 28 Dec 15:40

Add new optional renderMask prop, which accepts a set of MaskOptions and returns a mask to be rendered in place of the default. The MaskOptions are identical to what is passed to the default mask, and are derived from the set of WalktourOptions + the current target element, if any.