Skip to main content

<DefaultButtonSocial />

function DefaultButtonSocial(props: {
attributes: UiNodeInputAttributes
buttonProps: OryNodeButtonButtonProps
isSubmitting: boolean
logos?: Record<string, ElementType>
node: UiNodeInput
provider: string
}): Element

The default implementation of a social button for Ory SSO. It renders a button with a logo and an optional label.

Parameters

ParameterTypeDescription
props{ attributes: UiNodeInputAttributes; buttonProps: OryNodeButtonButtonProps; isSubmitting: boolean; logos?: Record<string, ElementType>; node: UiNodeInput; provider: string; }The props for the DefaultButtonSocial component.
props.attributesUiNodeInputAttributesDeprecated Use node.attributes instead.
props.buttonPropsOryNodeButtonButtonProps-
props.isSubmittingboolean-
props.logos?Record<string, ElementType>Logos to use for the social buttons. If not provided, the default logos will be used.
props.nodeUiNodeInput-
props.providerstring-

Returns

Element