import type { JSX } from 'react'; import type { UserProfileCustomDestination, UserProfileCustomPage } from './UserProfileCustomPages'; export interface UserButtonUserProfileProps { /** Custom pages displayed as rows in the user profile. */ customPages?: UserProfileCustomPage[]; /** Custom destinations that can be pushed from a custom page without creating a profile row. */ customDestinations?: UserProfileCustomDestination[]; } export interface UserButtonProps { /** Configuration passed to the user profile opened by the button. */ userProfileProps?: UserButtonUserProfileProps; } /** * A pre-built button component that displays the user's avatar. * * `UserButton` renders the platform-native Clerk user button. Tapping it opens * the native user profile surface, matching Clerk's iOS and Android SDKs. * * @example * ```tsx * import { UserButton } from '@clerk/expo/native-components'; * * export default function Home() { * return ( * }], * }} * /> * ); * } * ``` * * @see {@link UserProfileView} The profile view to render in your own presentation surface * @see {@link https://clerk.com/docs/components/user/user-button} Clerk UserButton Documentation */ export declare function UserButton({ userProfileProps }: UserButtonProps): JSX.Element | null; //# sourceMappingURL=UserButton.d.ts.map