Skip to content

Commit 224c8a3

Browse files
committed
feat PA-5238: extend renderAuthComponent interface to allow inline rendering
1 parent 569ef4b commit 224c8a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ps-web-apis.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ export interface WhoamiV1 {
200200
*
201201
* @param {Object} config - config container object
202202
* @param {HTMLElement} [config.container] - The HTML element in which the Wonderwall should be rendered in. default = overlay
203+
* @param {boolean} [config.inlineRender] - Renders Wonderwall directly in container instead of as overlay. default = false
203204
* @param {Object} config.props - The props which will be passed to the Wonderwall web component.
204205
* @param {String} config.props.template - valid choices are "register" and "login"
205206
* @param {String} config.props.variant - variant of the brand that should be shown e.g bild or welt
@@ -255,6 +256,7 @@ export type WonderwallProps = {
255256

256257
export interface AuthComponentConfig {
257258
container?: HTMLElement;
259+
inlineRender?: boolean;
258260
props: WonderwallProps;
259261
}
260262

0 commit comments

Comments
 (0)