var h = require('hyperscript') var plugs = require('../plugs') var avatar_image = plugs.first(exports.avatar_image = []) var avatar_name = plugs.first(exports.avatar_name = []) var avatar_action = plugs.map(exports.avatar_action = []) exports.avatar_profile = function (id) { return h('div.row.profile', avatar_image(id), h('div.profile__info', h('strong', avatar_name(id)), avatar_action(id)) ) }