Skip to main content

Function: Canvas()

function Canvas(params: PropsWithChildren<CanvasContext & HTMLProps<HTMLDivElement>>): Element;

Defined in: livelink.react/sources/components/core/Canvas.tsx:65

A component that provides a canvas element and a rendering surface.

Parameters

ParameterTypeDescription
paramsPropsWithChildren<CanvasContext & HTMLProps<HTMLDivElement>>The canvas context.

Returns

Element

The canvas component.