pub fn CreateOrganization(_: CreateOrganizationProps) -> ElementExpand description
Mounted Clerk create-organization UI.
§Example
use dioxus::prelude::*;
use dioxus_clerk::*;
#[component]
fn NewOrganizationPage() -> Element {
rsx! {
CreateOrganization { routing: Routing::Path, path: "/organizations/new" }
}
}§Props
For details, see the props struct definition.
routing:Option<Routing>Embedded routing mode.
path:Option<String>Path used by embedded routing.
after_create_organization_url:Option<String>URL Clerk should use after creating an organization.
appearance:Option<serde_json::Value>Raw Clerk appearance object.
options:CreateOrganizationOptionsAdvanced options forwarded to Clerk, as a
CreateOrganizationOptionsbuilder or a rawserde_json::Value. Explicit props win when both set the same Clerk option key.id:Option<String>Optional id for the Clerk widget host
<div>that clerk-js mounts into. May also be set through the attribute spread; this prop wins when both are present.attributes:Vec<Attribute>Attributes (including
class) spread onto the Clerk widget host<div>.fallback:ElementRendered while the Clerk create-organization widget is mounting.