Skip to content

Commit

Permalink
Merge pull request #40 from huntabyte/fix-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Sep 12, 2023
2 parents a328224 + 727110e commit e38ffa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ But when using Formsnap, you can pass those same options to the `<Form.Root/>` c

```svelte title="+page.svelte"
<script lang="ts">
import { Form, type Options } from "formsnap";
import { Form, type FormOptions } from "formsnap";
import { schema } from "./schema.ts";
export let data: PageData;
const options: Options = {
const options: FormOptions = {
validators: schema,
onSubmit: () => {
// do something
Expand Down

0 comments on commit e38ffa9

Please sign in to comment.