From f012e36f1c2439d8717305969269f1d70b7dfde6 Mon Sep 17 00:00:00 2001 From: Taylor Jones Date: Thu, 21 Oct 2021 14:37:42 -0500 Subject: [PATCH] chore(fileuploaderbutton): remove unused `listFiles` prop (#9915) * chore(fileuploaderbutton): remove unused prop * chore: update public api snap Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .../react/__tests__/__snapshots__/PublicAPI-test.js.snap | 3 --- .../react/src/components/FileUploader/FileUploaderButton.js | 6 ------ 2 files changed, 9 deletions(-) diff --git a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap index bcf4df344ccc..6baee82c07d6 100644 --- a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap +++ b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap @@ -2907,9 +2907,6 @@ Map { "labelText": Object { "type": "node", }, - "listFiles": Object { - "type": "bool", - }, "multiple": Object { "type": "bool", }, diff --git a/packages/react/src/components/FileUploader/FileUploaderButton.js b/packages/react/src/components/FileUploader/FileUploaderButton.js index e5e4804a76a8..7cccdb3e44f4 100644 --- a/packages/react/src/components/FileUploader/FileUploaderButton.js +++ b/packages/react/src/components/FileUploader/FileUploaderButton.js @@ -141,12 +141,6 @@ FileUploaderButton.propTypes = { */ labelText: PropTypes.node, - /** - * Specify whether you want the component to list the files that have been - * submitted to be uploaded - */ - listFiles: PropTypes.bool, - /** * Specify if the component should accept multiple files to upload */