Skip to content

Commit

Permalink
chore(drawing): import DrawingControlsProps
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenCodes committed Dec 9, 2020
1 parent d80b323 commit e22d6c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 1 addition & 3 deletions src/lib/viewers/doc/DocControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ export type Props = AnnotationsControlsProps &
FullscreenToggleProps &
PageControlsProps &
ThumbnailsToggleProps &
ZoomControlsProps & {
onAnnotationColorChange: (color: string) => void;
};
ZoomControlsProps;

export default function DocControls({
annotationColor,
Expand Down
7 changes: 3 additions & 4 deletions src/lib/viewers/image/ImageControls.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
import React from 'react';
import AnnotationsControls, { Props as AnnotationsControlsProps } from '../controls/annotations';
import ControlsBar from '../controls/controls-bar';
import DrawingControls from '../controls/annotations/DrawingControls';
import DrawingControls, { Props as DrawingControlsProps } from '../controls/annotations/DrawingControls';
import FullscreenToggle, { Props as FullscreenToggleProps } from '../controls/fullscreen';
import RotateControl, { Props as RotateControlProps } from '../controls/rotate';
import ZoomControls, { Props as ZoomControlsProps } from '../controls/zoom';

export type Props = AnnotationsControlsProps &
DrawingControlsProps &
FullscreenToggleProps &
RotateControlProps &
ZoomControlsProps & {
onAnnotationColorChange: (color: string) => void;
};
ZoomControlsProps;

export default function ImageControls({
annotationColor,
Expand Down

0 comments on commit e22d6c9

Please sign in to comment.