make type optional and fall back to 'text'
fix tabs -> spaces
make error prop more declarative
also respect error={null} on input
Merge pull request #98 from romeovs/master

Make Input component more useful (respects error prop declaratively)