We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db72690 commit 0178118Copy full SHA for 0178118
README.md
@@ -154,7 +154,7 @@ const MyComponent = () => {
154
const flow = {
155
start: {
156
message: "What is your age?",
157
- validateInput: (userInput) => {
+ validateTextInput: (userInput) => {
158
if (isNaN(userInput)) {
159
return {
160
success: false,
src/types/ValidationResult.ts
@@ -1,5 +1,5 @@
1
/**
2
- * Defines the return result from validateInput.
+ * Defines the return result from validateTextInput and validateFileInput.
3
*/
4
export type ValidationResult = {
5
success?: boolean;
0 commit comments