File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ See `examples/demo` as example of usage and configuration
3737
3838
3939## Use
40- ```
40+ ``` javascript
4141import React , {Component } from ' react' ;
4242import {Query , Builder , Utils as QbUtils } from ' react-awesome-query-builder' ;
4343import config from ' ./config' ; // see below 'Config format'
@@ -77,7 +77,7 @@ class DemoQueryBuilder extends Component {
7777```
7878
7979## Config format
80- ```
80+ ``` javascript
8181import {Widgets , Operators } from ' react-awesome-query-builder' ;
8282const {
8383 TextWidget ,
@@ -144,8 +144,8 @@ export default {
144144 types: {
145145 number: { // type key
146146 // (optional) Values of fields can be compared with values or another fields
147- // (see settings.valueSourcesInfo)
148- //If you want to compare values of this type only with values or other fields of this type, edit:
147+ // (see settings.valueSourcesInfo). If you want to compare values of this type
148+ // only with values or other fields of this type, edit:
149149 valueSources: [' value' ],
150150 // Available widgets for type and its configs:
151151 widgets: {
You can’t perform that action at this time.
0 commit comments