@abcnews/react-globe 中文文档教程
React Globe
用于 React 的 3D D3 Globe。
Usage
const React = require('react');
const Globe = require('@abcnews/react-globe');
const BRISBANE = [153.021072, -27.470125];
class App extends React.Component {
render() {
return <Globe center={BRISBANE} />;
}
}
module.exports = App;
Authors
React Globe
A 3D D3 Globe for React.
Usage
const React = require('react');
const Globe = require('@abcnews/react-globe');
const BRISBANE = [153.021072, -27.470125];
class App extends React.Component {
render() {
return <Globe center={BRISBANE} />;
}
}
module.exports = App;