Skip to content

@aws-amplify/[email protected]

Choose a tag to compare

@github-actions github-actions released this 03 Aug 17:06
· 1952 commits to main since this release
4158b51

Minor Changes

  • #2333 48027c8ef Thanks @joebuono! - fix(ui-react): Collection searchNoResultsFound

    When no results are returned from searching a Collection, we render the text "No results found" by default

    • Customer also has the option of passing their own ReactNode to the new searchNoResultsFound prop
    <Collection
      isSearchable
      searchNoResultsFound={
        <Flex justifyContent="center">
          <Text color="purple.80" fontSize="1rem">
            Nothing found, please try again
          </Text>
        </Flex>
      }
    >
      {collectionItems}
    </Collection>

Patch Changes