i-like-robots / react-tag-autocomplete

⚛️ A simple, accessible, tagging component ready to drop into your React projects (new repo)
https://i-like-robots.github.io/react-tag-autocomplete/
ISC License
178 stars 12 forks source link

Add custom input render prop #36

Closed i-like-robots closed 1 year ago

i-like-robots commented 1 year ago

This adds a new renderInput prop to enable a custom input component to be provided.

function CustomInput({ classNames, inputWidth, ...inputProps }) {
  return <input className={classNames.input} style={{ width: inputWidth }} {...inputProps} />
}
coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4403268597

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 4193674661: 0.02%
Covered Lines: 1330
Relevant Lines: 1356

💛 - Coveralls