Created
January 13, 2020 23:02
-
-
Save pfftdammitchris/c1f177cf939bbfde0fc9a895fa0cbe60 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const audioExts = ['mp3', 'mpa', 'ogg', 'wav'] | |
const icons = { | |
edit: { | |
component: EditIcon, | |
onClick: () => window.alert('You clicked the edit component'), | |
name: 'edit', | |
}, | |
delete: { | |
component: DeleteIcon, | |
name: 'delete', | |
}, | |
// Merged with audio icons | |
mp3: { | |
component: MdAudiotrack, | |
title: 'Audio Track', | |
}, | |
mpa: { | |
component: MdAudiotrack, | |
title: 'Audio Track', | |
}, | |
ogg: { | |
component: MdAudiotrack, | |
title: 'Audio Track', | |
}, | |
wav: { | |
component: MdAudiotrack, | |
title: 'Audio Track', | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment