Skip to content

Commit caa3146

Browse files
author
Nelson Menezes
committed
Clarify docs
1 parent 4693329 commit caa3146

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,13 +300,16 @@ might want the ```hint``` to show before an ```<input>```), you can create your
300300
of ```input```, ```select```, and ```textarea```. (```button``` and ```form``` are simple single-element
301301
components, and shouldn't need further customisation).
302302

303-
Here is an example that would render an ```<input>``` compatible with the [Bootstrap](http://getbootstrap.com)
303+
Here is an example that would render an ```<input>``` according to the [Bootstrap](http://getbootstrap.com)
304304
CSS framework:
305305

306306
```javascript
307307
import React, { Component } from 'react';
308308
import { inputFactory } from 'react-validation/lib/build/validation.rc';
309309

310+
// Not using ES6 classes? Then you'd write instead:
311+
// const MyBootstrapInput = React.createClass(...)
312+
//
310313
// If you are using ES7 decorators, you can use:
311314
// @inputFactory
312315
class MyBootstrapInput extends Component {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy