<Registration />
function Registration(props: {
children?: ReactNode
components?: OryFlowComponentOverrides
config: OryClientConfiguration
flow: RegistrationFlow
}): Element
The Registration
component is used to render the registration flow in Ory Elements.
Parameters
Parameter | Type | Description |
---|---|---|
props | { children? : ReactNode ; components? : OryFlowComponentOverrides ; config : OryClientConfiguration ; flow : RegistrationFlow ; } | The props for the Registration component. |
props.children? | ReactNode | Optional children to render If not provided, the default OrySelfServiceFlowCard will be rendered. |
props.components? | OryFlowComponentOverrides | Optional components to override the default ones. This allows you to customize the appearance and behavior of the registration flow. |
props.config | OryClientConfiguration | The Ory client configuration object. This object contains the configuration for the Ory client, such as the base URL and other settings. |
props.flow | RegistrationFlow | The registration flow object containing the state and data for the registration process. |
Returns
Element