Skip to content

Commit

Permalink
docs: update deprecation hint
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkh authored Nov 25, 2024
1 parent 235297d commit 44e69e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vis/vishooks/hooks/useCanvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ export function useCanvas<ContextId extends '2d' | 'webgl' | 'bitmaprenderer' |
contentHeight: state.height,

/**
* @deprecated Use pixelContentWidth and pixelContentHeight instead
* @deprecated Use `pixelContentWidth` instead
*/
width: state.pixelContentWidth,

/**
* @deprecated Use pixelContentWidth and pixelContentHeight instead
* @deprecated Use `pixelContentHeight` instead
*/
height: state.pixelContentHeight,

Expand Down

0 comments on commit 44e69e3

Please sign in to comment.