0.2.11 • Published 5 years ago
customize-2d-data-viewer v0.2.11
Customize-2d Data Viewer
Install
npm i customize-2d-data-viewer
Usage
import {DataViewer} from 'customize-2d-data-viewer';
const orderId = '...';
const data = {...};
const App = () => {
return (<DataViewer
orderId={orderId}
data={data}
/>);
};
API
Property | Description | Type | Default |
---|---|---|---|
orderId | order id | string | '' |
data | data | object | null |
disableAutoColon | disable auto colon | boolean | false |
color | font color | string | '#444444' |
borderColor | border color form main box | string | '#e1e1e1' |
fontSize | font size | number | 14 |
sectionTitleFontSize | font size for title of section | number | 18 |
sectionTitleBackgroundColor | background color for title of section | string | '#fafafa' |
sectionTitleBorderColor | color for title of section | string | '#f2f2f2' |
messageNoData | message while no data | string | '暂无数据' |
Development
npm install
npm run dev
Build
npm run build
Publish
npm publish
0.2.11
5 years ago
0.2.10
5 years ago
0.2.9
5 years ago
0.2.8
5 years ago
0.2.7
5 years ago
0.2.6
5 years ago
0.2.5
5 years ago
0.2.4
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
6 years ago
0.1.0
6 years ago
0.0.13
6 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago