<SignedIn>
Overview
The <SignedIn> component offers authentication checks as a cross-cutting concern. Any children components wrapped by a <SignedIn> component will be rendered only if there's a user with an active session signed in your application.
import { SignedIn } from '@clerk/clerk-expo'
import { Text, View } from 'react-native'
export default function Screen() {
return (
<View>
<SignedIn>
<Text>You are signed in.</Text>
</SignedIn>
<Text>This content is always visible.</Text>
</View>
)
}- Name
treatPendingAsSignedOut?- Type
boolean- Description
A boolean that indicates whether to treat as signed out. Defaults to
true.
Feedback
Last updated on