1.0.6 • Published 3 years ago

an-orgtree-react-antd-simple v1.0.6

Weekly downloads
25
License
-
Repository
-
Last release
3 years ago

��# an-orgTree-react-antd-simple

�NP��Nreacty��v

API:

svgWidth int �Vb�[�^ svgHeight int �Vbؚ�^ cardWidth int aSGr�[�^ cardHeight int aSGrؚ�^ cardStrokeWidth int aSGr��Fh�[�^ cardPadding int aSGr�Q��ݍ imgWidth int 4Y�P�[�^/��^ childCardWidth int P[�~aSGr�[�^ childCardHeight int P[�~aSGrؚ�^ cardColor string ��Fh�v��r� lineColor string �~ag�v��r� textAlign string(middle | left | right) �e,g�[P��e_ �؞��left data:Object {name:string,imgSrc:string,description:string,children:[]} textStyle {rootFontSize,textColor,childFontSize} �l�description-NO(u\n�S�NbcL� �

_(u: import {OrgTree} from 'an-orgTree-react-antd-simple'

���^�ǏY� OeQsvgWidth svgHeight�c6R,؞��E-N

KmՋpenc�

const data = { name: '11111', description: 'L�MO', imgSrc: userPng, children: [ { name: '1111-1111', description: 'L�MO1\nL�MO2', }, { name: '21332434', description: 'L�MO', children: { name: '9484755', description: 'L�MO', }, , }, { name: '1111-2222', description: 'L�MO', }, { name: '121212', description: 'L�MO', }, ], };

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago