Skip to content

Instantly share code, notes, and snippets.

@pfftdammitchris
Created January 13, 2020 23:02
Show Gist options
  • Save pfftdammitchris/c1f177cf939bbfde0fc9a895fa0cbe60 to your computer and use it in GitHub Desktop.
Save pfftdammitchris/c1f177cf939bbfde0fc9a895fa0cbe60 to your computer and use it in GitHub Desktop.
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