@mocanvas/mocanvas · interface

FloatingLayerProps

interface FloatingLayerProps

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Methods · 1

onClose(): void

Properties · 8

anchorRef: RefObject<HTMLElement | null>
children?: ReactNode
className?: string
keyboardNav?: boolean

Wire up arrow-key navigation. Off for a layer that is not a menu.

label?: string
open: boolean
prefer?: Side
role?: string

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.