Move to TS. Add some new props. Rewrite as a functional component #92
+58,426
−18,878
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
string | string[]
default valuesstring | string[]
[]
input placeholder. Ifstring
, the one placeholder will be added to all inputsstring | string[]
[]
input classnames. Ifstring
, the one class will be added to all inputsboolean
false
disables all inputsboolean
false
sets all inputs to be requiredstring
undefined
adds id prefix to all inputs. Ifid
is not defined, id of each input won't be defined eitherJSX.Element
Loader
custom loader componentLoader now can be a custom component
Everything is rewritten on TypeScript as a functional component
Tests
Packages are updated
@suweya Apologies for not asking your opinion on TypeScript. The reason is simply a lack of time. My current project is written on TS and had to change some things in the original code. I simply not sure if I have any time to write it on JS. No worries if this PR will be declined.