Only Input

Example

API

Name Type Default Description
onChange function Will be called on DOM events, passing (value, eventType)
onBlur function Will be called on DOM events, passing (value, eventType)
onFocus function Will be called on DOM events
other N/A (See below)

This component is a fairly thin wrapper around the native <input> DOM element. It spreads all props passed to it, and therefore it accepts any prop that is a valid HTML attribute.

Used by

Team
Bumblenauts
Titan