Skip to content

Commit 7540adb

Browse files
fix(react): remove children property from runtime Trans (#2151)
1 parent cea4275 commit 7540adb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/react/src/TransNoContext.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export type TransProps = {
3030
components?: { [key: string]: React.ElementType | any }
3131
formats?: MessageOptions["formats"]
3232
comment?: string
33-
children?: React.ReactNode
3433
} & TransRenderCallbackOrComponent
3534

3635
/**

0 commit comments

Comments
 (0)