I'm trying to export two objects but once i import it I get TypeError: Object(...) is not a function
I'm wondering if there is a different way to make the export
export default {
copy: data => copy({
margin: margins.size,
data
}),
cleanDisplay: () => clean(margin.size, 'success')
}
import component from '../../component'