Skip to content

Commit

Permalink
Add inputType email to formspree
Browse files Browse the repository at this point in the history
  • Loading branch information
nolannbiron committed Feb 28, 2025
1 parent 53ff2c9 commit 7ec8234
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bun.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
},
"integrations/formspree": {
"name": "@gitbook/integration-formspree",
"version": "0.2.4",
"version": "0.2.5",
"dependencies": {
"@gitbook/runtime": "packages/runtime",
},
Expand Down
8 changes: 7 additions & 1 deletion integrations/formspree/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,13 @@ const formspreeBlock = createComponent<
<box grow={1}>
<input
label="Email"
element={<textinput state="email" placeholder="Your email" />}
element={
<textinput
inputType="email"
state="email"
placeholder="Your email"
/>
}
/>
</box>
) : null}
Expand Down

0 comments on commit 7ec8234

Please sign in to comment.