Skip to content

Commit

Permalink
fix(types): add crop to FileInfo (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeetiss authored Nov 24, 2020
1 parent b032aa4 commit 1693eae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,12 @@ interface FileInfo {
cdnUrl: null | string;
cdnUrlModifiers: null | string;
sourceInfo: null | SourceInfo;
crop?: {
height: number;
left: number;
top: number;
width: number;
};
}

type OnTabVisibilityCallback = (tab: string, shown: boolean) => void;
Expand Down

0 comments on commit 1693eae

Please sign in to comment.