Developers
Start building
Themes/Theme SDK/Modules/chrome/Defaults: UserMenu

Defaults: UserMenu

The defaults of @poltura/theme-sdk/chrome, UserMenu to UserMenu.

On this page
import { … } from '@poltura/theme-sdk/chrome';

UserMenu

The account button and its menu: sign in and register for guests; the account, the orders and sign out once signed in.

UserMenu(props: UserMenuProps): ReactElement

Props: UserMenuProps

import { UserMenu } from '@poltura/theme-sdk/chrome';

export function Account() {
  return <UserMenu display='label' greet />;
}

See also: useHeader

Last updated