Skip to content

Commit

Permalink
fix: Export CanvasProps type
Browse files Browse the repository at this point in the history
It's useful to pass these props on in custom components.
  • Loading branch information
mrousavy authored Dec 17, 2021
1 parent dadd75e commit 33cdaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/src/renderer/Canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const render = (
});
};

interface CanvasProps extends ComponentProps<typeof SkiaView> {
export interface CanvasProps extends ComponentProps<typeof SkiaView> {
innerRef?: RefObject<SkiaView>;
children: ReactNode;
onTouch?: TouchHandler;
Expand Down

0 comments on commit 33cdaf3

Please sign in to comment.