0.1.4 • Published 10 months ago
@antv/li-sam-assets v0.1.4
LI Sam Assets
Sam Assets for Location Insight App
Install
tnpm i @alipay/li-sam-assets -S
Usage
import React from 'react';
import Assets from '@alipay/li-sam-assets';
import { LocationInsightEditor } from '@antv/li-editor';
import defaultApplication from './application';
const assets = [Assets];
export default () => {
return (
<LocationInsightEditor
style={{ height: '100vh' }}
defaultApplication={defaultApplication}
assets={assets}
onChange={(app) => {}}
/>
);
};