0.1.9 • Published 1 year ago

react-native-common-mod v0.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-common-mod

test module

Installation

npm install react-native-common-mod

Usage

import  { DynamicTable }  from 'react-native-common-mod';

// ...
<DynamicTable 
    tableData = {[{rowId: "",rowType:"",questionSelectionType:"", columns:[]},{rowId: "",rowType:"",questionSelectionType:"",columns:[]}]}
    columnCount={"number"}
    columnWidthsTemplate={{ firstColumn: `${100 / columnCount }%`, otherColumns: `${100 / columnCount}%`, mergedColumns: `${100 - (100 / columnCount)}%`, fullColumn: '100%`'}}
    defaultColumnType={"DEFAULT"}
    cellHook={{ ["rowType"]: (data, elementRef) => {  /* logic */} }}
    onPressRow={"function"}
    renderPopup={"function"}
    showPopup={"boolean"}
/>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago