From f60f0ca1e135e683d105623d24d76107bb3ad06f Mon Sep 17 00:00:00 2001 From: Cory Gibbons Date: Wed, 6 Oct 2021 22:18:08 -0400 Subject: [PATCH] Remove labelUppercase prop --- src/FileIcon.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/FileIcon.js b/src/FileIcon.js index 79b5dcb..db6fc69 100644 --- a/src/FileIcon.js +++ b/src/FileIcon.js @@ -24,8 +24,6 @@ const propTypes = { labelColor: PropTypes.string, /** Color of label text */ labelTextColor: PropTypes.string, - /** Displays the label in all caps */ - labelUppercase: PropTypes.bool, /** Corner radius of the file icon */ radius: PropTypes.number, /** Type of glyph icon to display */ @@ -76,7 +74,6 @@ export const FileIcon = ({ gradientOpacity = 0.25, labelColor, labelTextColor = 'white', - labelUppercase = false, radius = 4, type, }) => { @@ -200,7 +197,6 @@ export const FileIcon = ({ fontWeight: 'bold', textAlign: 'center', pointerEvents: 'none', - textTransform: labelUppercase ? 'uppercase' : 'none', userSelect: 'none', }} >