0.2.11 • Published 5 years ago

customize-2d-data-viewer v0.2.11

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

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

PropertyDescriptionTypeDefault
orderIdorder idstring''
datadataobjectnull
disableAutoColondisable auto colonbooleanfalse
colorfont colorstring'#444444'
borderColorborder color form main boxstring'#e1e1e1'
fontSizefont sizenumber14
sectionTitleFontSizefont size for title of sectionnumber18
sectionTitleBackgroundColorbackground color for title of sectionstring'#fafafa'
sectionTitleBorderColorcolor for title of sectionstring'#f2f2f2'
messageNoDatamessage while no datastring'暂无数据'

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