Giter VIP home page Giter VIP logo

react-twitter-typeahead's Issues

npm packages are supposed to be modules, not bases

This package appears to be meant as a base for a project. npm packages are supposed to be modules for other projects. Installing this through npm is useless, as the package doesn't export anything at all. Please make it export ReactTypeahead

The input css class is not customizable

  • The input's css class is fixed to "typeahead". This is an issue if an custom css styling is needed. Also it doesn't play nice with bootstrap.
  • It should be possible to override the default css class of the input box.

Demo broken

The demo page on azuresites doesn't work, because the example.js can't be found.

Error: Cannot find module 'reactify'

react-tools and reactify have been deprecated in favor of babel. When I try to import the module ReactTypeAhead like so import ReactTypeahead from 'react-twitter-typeahead';. I get an error Error: Cannot find module 'reactify'.

Fail to compile

Hi
I am trying this library in my project and occurs a error when compiling with browserify. I installed it with npm and in my .js file I used Var ReactTypeahead = require('react-twitter-typeahead');

compiled it with: browserify -t reactify archivo.js -o archivo_preprocesado.js

Error: Parsing file /home/patricio/programacion/trabajos/capex/moiras/browser/javascript/node_modules/react-twitter-typeahead/lib/js/react-typeahead.js: Unexpected token (78:12)
    at Deps.parseDeps (/usr/local/lib/node_modules/browserify/node_modules/module-deps/index.js:436:28)
    at fromSource (/usr/local/lib/node_modules/browserify/node_modules/module-deps/index.js:375:44)
    at /usr/local/lib/node_modules/browserify/node_modules/module-deps/index.js:369:17
    at ConcatStream.<anonymous> (/usr/local/lib/node_modules/browserify/node_modules/concat-stream/index.js:36:43)
    at ConcatStream.emit (events.js:117:20)
    at finishMaybe (/usr/local/lib/node_modules/browserify/node_modules/readable-stream/lib/_stream_writable.js:460:14)
    at endWritable (/usr/local/lib/node_modules/browserify/node_modules/readable-stream/lib/_stream_writable.js:469:3)
    at ConcatStream.Writable.end (/usr/local/lib/node_modules/browserify/node_modules/readable-stream/lib/_stream_writable.js:436:5)
    at DuplexWrapper.onend (/usr/local/lib/node_modules/browserify/node_modules/readable-stream/lib/_stream_readable.js:537:10)
    at DuplexWrapper.g (events.js:180:16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.