@bailierich/booking-components 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Forms/FormRenderer.tsx +16 -8
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -154,14 +154,22 @@ export default function FormRenderer({ form, businessId, onSuccess }: FormRender
|
|
|
154
154
|
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M5 13l4 4L19 7" />
|
|
155
155
|
</svg>
|
|
156
156
|
</div>
|
|
157
|
-
<h3 className="text-xl font-semibold mb-2" style={{ color:
|
|
158
|
-
<p style={{ color:
|
|
159
|
-
<
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
157
|
+
<h3 className="text-xl font-semibold mb-2" style={{ color: '#1a1a1a' }}>Success!</h3>
|
|
158
|
+
<p style={{ color: '#374151' }}>{form.settings.successMessage}</p>
|
|
159
|
+
<div className="mt-6 flex gap-3 justify-center">
|
|
160
|
+
<button
|
|
161
|
+
onClick={() => window.location.href = '/'}
|
|
162
|
+
className="px-4 py-2 bg-gray-900 text-white rounded-lg hover:bg-gray-800 transition-colors"
|
|
163
|
+
>
|
|
164
|
+
Back to Home
|
|
165
|
+
</button>
|
|
166
|
+
<button
|
|
167
|
+
onClick={() => setIsSuccess(false)}
|
|
168
|
+
className="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors"
|
|
169
|
+
>
|
|
170
|
+
Submit Another Response
|
|
171
|
+
</button>
|
|
172
|
+
</div>
|
|
165
173
|
</div>
|
|
166
174
|
</div>
|
|
167
175
|
);
|