2 Commits 091e454cde ... 078302689a

Author SHA1 Message Date
  sainw 078302689a add style prop 3 years ago
  sainw ba89a902ce Merge branch 'master' of phyothandar/mokkon-reactjs into master 3 years ago
5 changed files with 399 additions and 283 deletions
  1. 2 1
      README.md
  2. 3 3
      dist/index.css
  3. 393 278
      dist/index.modern.js
  4. 0 0
      dist/index.modern.js.map
  5. 1 1
      package.json

+ 2 - 1
README.md

@@ -16,7 +16,7 @@ Mokkon's reactjs components
 **Field object**
 
 | Name        | Type           | Default  | Description
-| ------------- |-------------| -----:| -------- |
+| ------------- |-------------| -----| -------- |
 | field_name      | string |  | Field name 
 | label      | string      |  | Field label |
 | type      | string      |  | Field type <ul><li>dropdown</li><li>text_string</li><li>Propstext_number</li><li>text_multiline</li><li>list</li><li>photo_list</li><li>date</li><li>time</li></ul>|
@@ -24,6 +24,7 @@ Mokkon's reactjs components
 | can_create      | boolean      |  | To handle adding new object from dropdown or autocomplete |
 | readonly      | boolean      |  | To handle for not editable form |
 | option_label_field      | string      |  | Field name to get label of option in dropdown |
+| style      | object      | { headerBackgroundColor: '#0d47a1a8', headerTextcolor: 'white' , primaryColor:'#0d47a11c' } | style object<br/><br/>Table Header's background color: ***headerBackgroundColor*** <br/>Table Text's color: ***headerTextcolor*** <br/>Table even row's background color: ***primaryColor*** <br/><br/> Example: <br/>{ headerBackgroundColor: 'green', headerTextcolor: 'white' , primaryColor:'lightBlue' } |
 
  
  **Example of field object** 

+ 3 - 3
dist/index.css

@@ -1,14 +1,14 @@
-._styles-module__root___Q-W2 {
+.__Q-W2 {
   display: flex;
 }
 
-._styles-module__listContainer__2anau {
+._2anau {
   flex-grow: 1;
   box-sizing: border-box;
   width: 100%;
 }
 
-li._styles-module__expand__KjPQP {
+li._KjPQP {
   list-style-type: none;
 }
 

File diff suppressed because it is too large
+ 393 - 278
dist/index.modern.js


File diff suppressed because it is too large
+ 0 - 0
dist/index.modern.js.map


+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@mokkon/reactjs",
-  "version": "1.1.0",
+  "version": "1.1.1",
   "description": "Made with create-react-library",
   "author": "",
   "license": "MIT",

Some files were not shown because too many files changed in this diff