Ben Grynhaus
Ben Grynhaus
# Description Fixes an issue where `` didn't work as expected when using `asChild`, which is most commonly used with [Radix](https://www.radix-ui.com/primitives) (and [shadcn/ui](https://ui.shadcn.com/), which is based on it). Fixes https://github.com/lingui/js-lingui/issues/2015...
**Describe the bug** `` replaces the inner JSX it gets as `children` with a transformed JSX tree. The problem is that some elements expect `children` to be of type `ReactElement`...
As detailed in [this gist](https://gist.github.com/bengry/2e76d76a29da12ab8f5907c4dfc933c8) (also shared in https://github.com/graphql-mocks/graphql-mocks/issues/273), we're using `graphql-mocks` to create fake data for GQL requests. Sometimes though we want to create a semi-fake type. i.e. create...