accessibilityLabel

This commit is contained in:
Minseo Lee 2024-02-24 18:29:01 +09:00
parent 7a920d2eb4
commit 5809dd0624
3 changed files with 4 additions and 4 deletions

View file

@ -51,8 +51,8 @@ export const NotFoundScreen = () => {
</Text>
<Button
type="primary"
label={canGoBack ? _(msg`Go back`) : _(msg`Go home`)}
accessibilityLabel={canGoBack ? _(msg`Go Back`) : _(msg`Go home`)}
label={canGoBack ? _(msg`Go Back`) : _(msg`Go Home`)}
accessibilityLabel={canGoBack ? _(msg`Go back`) : _(msg`Go home`)}
accessibilityHint={canGoBack ? _(msg`Returns to previous page`) : _(msg`Returns to home page`)}
onPress={onPressHome}
/>