Skip to content

This JSX tag's 'children' prop expects type 'string & {}' which requires multiple children, but only a single child was provided.ts(2745) #1592

@Gluant101

Description

@Gluant101

Description

https://discord.com/channels/1050761204852858900/1054373041435574322/1193259014201540758

CodeSandbox/Snack link

No response

Steps to reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

gluestack-ui Version

3.3.1

Platform

  • Expo
  • React Native CLI
  • Next
  • Web
  • Android
  • iOS

Other Platform

No response

Additional Information

Using this component:

toast.show({
            placement: 'bottom left',
            render: ({ id }) => {
              const toastId = 'toast-' + id;
              return (
                <Toast nativeID={toastId}>
                  <ToastDescription>
                    {translate('messageError.errorToGetConversation')}
                  </ToastDescription>
                </Toast>
              );
            }
          });

Using This: https://gluestack.io/ui/docs/components/feedback/toast

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiscordPosted in Discordv1gluestack-ui v1

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions