import buttonFactory from '../../shared/components/button_factory.tsx'

import deleteIcon from '../images/icon-delete.svg'
import editIcon from '../images/icon-edit.svg'

import styles from './button.module.scss'

const defaults = {
  color: 'blue',
}

const icons = {
  delete: deleteIcon,
  edit: editIcon,
}

export default buttonFactory({ defaults, icons, styles })
