Skip to content

Commit b10bac0

Browse files
authored
Update README.md
1 parent a17e7ac commit b10bac0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ See `examples/demo` as example of usage and configuration
3737

3838

3939
## Use
40-
```
40+
```javascript
4141
import React, {Component} from 'react';
4242
import {Query, Builder, Utils as QbUtils} from 'react-awesome-query-builder';
4343
import config from './config'; //see below 'Config format'
@@ -77,7 +77,7 @@ class DemoQueryBuilder extends Component {
7777
```
7878

7979
## Config format
80-
```
80+
```javascript
8181
import {Widgets, Operators} from 'react-awesome-query-builder';
8282
const {
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: {

0 commit comments

Comments
 (0)