Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function UppyDashboardFileIcon (props) {
const icon = renderStringFromJSX(getFileTypeIcon(props.type).icon)
if (!icon) {
return
}
const color = getFileTypeIcon(props.type).color
return (
function UppyDashboardFileIcon (props) {
const icon = renderStringFromJSX(getFileTypeIcon(props.type).icon)
if (!icon) {
return
}
const color = getFileTypeIcon(props.type).color
return (
renderItem={({ item }) => {
return (
)
}}
/>