Skip to content

Commit

Permalink
Update to 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgio committed Mar 14, 2016
1 parent af55104 commit 9e397bd
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 15 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ React-based typeahead component that uses standard the Bootstrap theme for as a
[![npm](https://img.shields.io/npm/v/react-bootstrap-typeahead.svg?style=flat-square)](https://www.npmjs.com/package/react-bootstrap-typeahead)
[![npm](https://img.shields.io/npm/dm/react-bootstrap-typeahead.svg?style=flat-square)](https://www.npmjs.com/package/react-bootstrap-typeahead)

Please note that this library is under active development and the APIs may change.

## Installation
Use NPM to install the module in your project and build using a tool like webpack or browserify.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-bootstrap-typeahead",
"version": "0.2.1",
"version": "0.2.2",
"description": "React-based typeahead using the Bootstrap theme",
"main": "lib/index.js",
"directories": {
Expand Down
4 changes: 2 additions & 2 deletions src/Token.react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import React from 'react';
import React, {PropTypes} from 'react';
import {findDOMNode} from 'react-dom';

import cx from 'classnames';
Expand All @@ -25,7 +25,7 @@ const Token = React.createClass({
* Handler for removing/deleting the token. If not defined, the token will
* be rendered in a read-only state.
*/
onRemove: React.PropTypes.func,
onRemove: PropTypes.func,
},

getInitialState() {
Expand Down
4 changes: 1 addition & 3 deletions src/TokenizerInput.react.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
'use strict';

import AutosizeInput from 'react-input-autosize';
import React from 'react';
import React, {PropTypes} from 'react';
import Token from './Token.react';

import cx from 'classnames';
import {findDOMNode} from 'react-dom';
import keyCode from './keyCode';

const {PropTypes} = React;

/**
* TokenizerInput
*
Expand Down
4 changes: 1 addition & 3 deletions src/Typeahead.react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import React from 'react';
import React, {PropTypes} from 'react';

import TokenizerInput from './TokenizerInput.react';
import TypeaheadInput from './TypeaheadInput.react';
Expand All @@ -10,8 +10,6 @@ import {find, head, isEmpty, isEqual, uniqueId} from 'lodash';
import {BACKSPACE, DOWN, ESC, RETURN, TAB, UP} from './keyCode';
import onClickOutside from 'react-onclickoutside';

const {PropTypes} = React;

require('../css/Typeahead.css');

/**
Expand Down
4 changes: 1 addition & 3 deletions src/TypeaheadInput.react.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
'use strict';

import React from 'react';
import React, {PropTypes} from 'react';

import cx from 'classnames';
import {head} from 'lodash';
import keyCode from './keyCode';
import onClickOutside from 'react-onclickoutside';

const {PropTypes} = React;

/**
* TypeaheadInput
*
Expand Down
4 changes: 1 addition & 3 deletions src/TypeaheadMenu.react.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
'use strict';

import Highlight from 'react-highlighter';
import React from 'react';
import React, {PropTypes} from 'react';
import {findDOMNode} from 'react-dom';

import cx from 'classnames';

const {PropTypes} = React;

const Menu = React.createClass({
render() {
return (
Expand Down

0 comments on commit 9e397bd

Please sign in to comment.