react-conversation-form
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "react-conversation-form", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A React wrapper for Space10's Conversational Form", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -26,3 +26,3 @@ # react-conversation-form · [![npm](https://img.shields.io/npm/v/react-conversation-form.svg?style=flat-square)](https://www.npmjs.com/package/react-conversation-form) [![npm](https://img.shields.io/npm/dw/react-conversation-form.svg?style=flat-square)]() | ||
<Conversation | ||
onSubmit={(a) => {console.log(a)}} | ||
onSubmit={() => {}} | ||
chatOptions={{ | ||
@@ -43,3 +43,3 @@ thankTheUser: ['identifier', 'feedback'], | ||
</Question> | ||
<Question id="feedback" validation={[]}> | ||
<Question id="feedback" validation="^[a-zA-Z ]+$"> | ||
What are you thinking? | ||
@@ -46,0 +46,0 @@ </Question> |
@@ -24,3 +24,3 @@ import React from 'react'; | ||
</Question> | ||
<Question id="feedback" validation={[]}> | ||
<Question id="feedback" validation="^[a-zA-Z ]+$"> | ||
What are you thinking? | ||
@@ -27,0 +27,0 @@ </Question> |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
724139
0