Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
react-native-fast-image
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
react-native-fast-image
Commits
c265c7a7
Commit
c265c7a7
authored
Sep 24, 2018
by
David Narbutovich
Committed by
Dylan Vann
Sep 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix TypeScript types for fallback.
parent
845ae631
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/index.d.ts
src/index.d.ts
+3
-1
No files found.
src/index.d.ts
View file @
c265c7a7
...
...
@@ -33,7 +33,7 @@ declare namespace FastImage {
FastImage
.
resizeMode
.
cover
|
FastImage
.
resizeMode
.
stretch
|
FastImage
.
resizeMode
.
center
export
type
Cache
=
FastImage
.
cache
.
cacheOnly
|
FastImage
.
cache
.
immutable
|
...
...
@@ -79,6 +79,7 @@ export interface OnProgressEvent {
export
interface
FastImageProperties
{
source
:
FastImageSource
|
number
resizeMode
?:
FastImage
.
ResizeMode
fallback
?:
boolean
onLoadStart
?():
void
...
...
@@ -135,6 +136,7 @@ interface FastImageStatic extends React.ComponentClass<FastImageProperties> {
}
declare
var
FastImage
:
FastImageStatic
type
FastImage
=
FastImageStatic
export
default
FastImage
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment