Skip to content

Commit

Permalink
perf: trivial correction in the type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
apenab committed Nov 21, 2022
1 parent 226fc08 commit e0851e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import { CanvasDraw } from '.';

export type Dimensions = number | string;
Expand All @@ -8,7 +8,8 @@ export type Bounds = {
mas: number;
};

export interface CanvasDrawProps extends React.Component {
export interface CanvasDrawProps {
ref?: React.LegacyRef<CanvasDraw>;
loadTimeOffset?: number;
lazyRadius?: number;
brushRadius?: number;
Expand Down

0 comments on commit e0851e8

Please sign in to comment.