UNPKG

svelte-craftcms-headless-formie

Version:

Svelte Package for using Craft CMS with the Formie Plugin in headless configuration

15 lines (14 loc) 466 B
import type { FormieFormProps } from '../types/ComponentTypes.js'; /** * FormieForm * A Formie Form Component, which can be used to make form submissions to * Craft CMS's formie plugin in headless configuration. * * Usage: * ```svelte * <FormieForm handle="your-form-handle" publicCmsApi={PUBLIC_CMS_API} /> * ``` */ declare const Form: import("svelte").Component<FormieFormProps, {}, "isLoading">; type Form = ReturnType<typeof Form>; export default Form;