Public function

Signature
TldrawSelectionBackground: ({ bounds, rotation }: TLSelectionBackgroundProps) =>
  import('react/jsx-runtime').JSX.Element | null
Parameters
NameDescription

{ bounds, rotation }

TLSelectionBackgroundProps
Returns
import('react/jsx-runtime').JSX.Element | null
References

TLSelectionBackgroundProps

Source

packages/tldraw/src/lib/canvas/TldrawSelectionBackground.tsx

TldrawScribbleTldrawSelectionForeground