CDP Frontend SDK
    Preparing search index...

    Function SignInModalTrigger

    • A trigger button that opens the sign in modal.

      Parameters

      • props: SignInModalTriggerProps

        The props for the SignInModalTrigger component.

        Props for the sign in modal trigger button

        • Optionalchildren?: ReactNode

          If provided, will render the children instead of the default trigger button.

        • Optionallabel?: ReactNode

          The label to display on the trigger button.

        • Optionalsize?: ButtonSize

          The size of the button. Defaults to "md".

        • OptionalfullWidth?: boolean

          Whether the button should be full width.

        • Optionalvariant?: ButtonVariant

          The variant of the button. Defaults to "primary".

      Returns Element

      The SignInModalTrigger component.