mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Adding type definition for react-cartographer npm package * Changing strictNullChecks to true * Fixing failures from lint check * Code cleanup
23 lines
563 B
TypeScript
23 lines
563 B
TypeScript
import * as React from "react";
|
|
import { Map } from "react-cartographer";
|
|
|
|
class Test extends React.Component {
|
|
render() {
|
|
return (
|
|
<Map
|
|
providerKey=""
|
|
provider='bing'
|
|
mapId='map'
|
|
addressLine1='One Microsoft Way'
|
|
city='Redmond'
|
|
state='WA'
|
|
country='United States'
|
|
zoom={15}
|
|
height={270}
|
|
width={580}
|
|
useBackgroundImageStyle={true}
|
|
/>
|
|
);
|
|
}
|
|
}
|