Something went wrong. Try again.
Bluesky app fork with some witchin' additions 💫
Something went wrong. Try again.
631 B · 21 lines
TypeScript
at main
12345678910111213141516171819202122import {type SessionAccount} from '#/state/session'import {type DialogControlProps} from '#/components/Dialog'import {type app} from '#/lexicons'
export type AccountPickerRequest = { title: string onSelectAccount: (account: SessionAccount) => void /** The originating event target, used to anchor the shared web dropdown. */ target?: unknown pointerHeld?: boolean}
export type AccountPickerProps = { control: DialogControlProps request: AccountPickerRequest | null accounts: { account: SessionAccount profile?: app.bsky.actor.defs.ProfileViewDetailed }[] signOutPromptControl: DialogControlProps}