forked from terrylinla/react-native-sketch-canvas
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I believe the type LocalSourceImage, as defined in index.d.ts as
export interface LocalSourceImage {
path: string;
directory?: string;
mode?: "AspectFill" | "AspectFit" | "ScaleToFill";
}
should actually be
export interface LocalSourceImage {
filename: string;
directory?: string;
mode?: "AspectFill" | "AspectFit" | "ScaleToFill";
}
The docs even suggest using filename (as well as in the pre-fork version of this library).
Is this just a simple type tweak, or pehaps am I missing something?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels