Loosen type, add Trans tag
This commit is contained in:
@@ -115,7 +115,7 @@ export function Text({children}: {children: React.ReactNode}) {
|
||||
|
||||
export function Action(
|
||||
props: Omit<ButtonProps, UninheritableButtonProps | 'children'> & {
|
||||
children: string
|
||||
children: React.ReactNode
|
||||
},
|
||||
) {
|
||||
const t = useTheme()
|
||||
|
||||
@@ -542,7 +542,9 @@ export const ComposePost = ({
|
||||
const {host: name, rkey} = new AtUri(postUri)
|
||||
navigation.navigate('PostThread', {name, rkey})
|
||||
}}>
|
||||
View
|
||||
<Trans context="Action to view the post the user just created">
|
||||
View
|
||||
</Trans>
|
||||
</Toast.Action>
|
||||
)}
|
||||
</Toast.Outer>,
|
||||
|
||||
Reference in New Issue
Block a user