react-kiwi-dropdown
Version:
A minimal, easy-to-use and highly adjustable dropdown component made with ReactJS.
22 lines (18 loc) • 388 B
JavaScript
var create = require('./util/create')
module.exports = create({
space: 'xlink',
transform: xlinkTransform,
properties: {
xLinkActuate: null,
xLinkArcRole: null,
xLinkHref: null,
xLinkRole: null,
xLinkShow: null,
xLinkTitle: null,
xLinkType: null
}
})
function xlinkTransform(_, prop) {
return 'xlink:' + prop.slice(5).toLowerCase()
}