@ue-too/board-react-adapter / index / BoardProps
型エイリアス: BoardProps
BoardProps =
object
Props for the Board component.
プロパティ
animationCallback()?
optionalanimationCallback: (timestamp,ctx) =>void
Callback function for drawing on each animation frame
パラメータ
timestamp
number
ctx
CanvasRenderingContext2D
戻り値
void
children?
optionalchildren:React.ReactNode
Child components that can access the board via hooks
fullScreen?
optionalfullScreen:boolean
Enable fullscreen mode (canvas resizes with window)
height?
optionalheight:number
Canvas height in pixels
width?
optionalwidth:number
Canvas width in pixels