Skip to content

v7.0.0

Compare
Choose a tag to compare
@moroshko moroshko released this 18 Oct 01:53
· 31 commits to master since this release

inputComponent was removed in favor of the new renderInputComponent.

When using renderInputComponent, make sure to pass through the inputProps that you get to the <input> element.

For example:

const renderInputComponent = inputProps => {
  const style = {
    <some styles>
  };

  return (
    <div>
      <input style={style} {...inputProps} />
      {<your custom stuff>}
    </div>
  );
};