svelte-craftcms-headless-formie
Version:
Svelte Package for using Craft CMS with the Formie Plugin in headless configuration
12 lines (11 loc) • 393 B
TypeScript
import type { FieldProps } from '../types/FieldTypes.js';
import type { FormStore } from '../store.svelte.js';
import { type Component } from 'svelte';
type Props = {
field: FieldProps;
formStore: FormStore;
updateFormFields: (handle: string, newValue: string) => void;
};
declare const Field: Component<Props, {}, "">;
type Field = ReturnType<typeof Field>;
export default Field;