mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 05:55:11 +00:00
18 lines
351 B
JavaScript
18 lines
351 B
JavaScript
import {create} from './util/create.js'
|
|
|
|
export const xlink = create({
|
|
properties: {
|
|
xLinkActuate: null,
|
|
xLinkArcRole: null,
|
|
xLinkHref: null,
|
|
xLinkRole: null,
|
|
xLinkShow: null,
|
|
xLinkTitle: null,
|
|
xLinkType: null
|
|
},
|
|
space: 'xlink',
|
|
transform(_, property) {
|
|
return 'xlink:' + property.slice(5).toLowerCase()
|
|
}
|
|
})
|