Skip to content

Commit

Permalink
Add some missing props to TypeScript lib def (#1360)
Browse files Browse the repository at this point in the history
* Add some missing props to TypeScript lib def

* Add changelog entry
  • Loading branch information
draperunner authored Jun 4, 2021
1 parent bcf6593 commit f97925c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Please add unreleased changes in the following style:
PR Title ([#123](link to my pr))

Add some missing props to TypeScript lib def ([#1360](https://github.com/react-native-mapbox-gl/maps/pull/1360))

----
## NEXT

Expand Down
3 changes: 3 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@ export interface SymbolLayerStyle {
symbolPlacement?: 'point' | 'line' | Expression;
symbolSpacing?: number | Expression;
symbolAvoidEdges?: boolean | Expression;
symbolSortKey?: number | Expression;
symbolZOrder?: 'auto' | 'viewport-y' | 'source' | Expression;
iconAllowOverlap?: boolean | Expression;
iconIgnorePlacement?: boolean | Expression;
Expand Down Expand Up @@ -869,6 +870,8 @@ export interface HeatmapLayerProps extends LayerBaseProps {

export interface ImagesProps extends ViewProps {
images?: { assets?: string[] } & { [key: string]: ImageSourcePropType };
nativeAssetImages?: string[]
onImageMissing?: (imageKey: string) => void
}

export interface ImageSourceProps extends ViewProps {
Expand Down

0 comments on commit f97925c

Please sign in to comment.