s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Svelte · App

OwnerSetupForm

No summary has been written for OwnerSetupForm. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.

Public export

typescript
import { OwnerSetupForm } from '@happyvertical/smrt-svelte/app';
Import path
@happyvertical/smrt-svelte/app
Props
7
Props described
7 of 7
Bindable state
0
Callback events
0
Verified release
0.57.40

Props

NameTypeRequiredDescription
dataOwnerSetupDataYesThe route's `load` data. The token is rendered only as a hidden field.
formOwnerSetupFormResult | nullNoThe route's `form` prop (action failure data).
titlestringNoApplication name shown as the brand above the card.
logoSrcstringNoOptional logo shown before the title.
askTenantNamebooleanNoAlso ask for an optional workspace name (field `tenantName`).
actionstringNoForm action URL; omit to post to the current route's default action.
enhance(form: HTMLFormElement) => { destroy?: () => void; } | voidNoSvelteKit's `enhance` from `$app/forms`, for progressive enhancement. Optional: without it the form is a plain POST that works without JS.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation