feat(core): add text primitive

This commit is contained in:
Rahim
2026-06-24 12:12:58 -07:00
parent ce4178778e
commit e07db4f7b2
9 changed files with 279 additions and 13 deletions
+4
View File
@@ -50,6 +50,10 @@ export default defineConfig({
when: code.match.jsx.tag('Container'),
transform: code.edit.jsx.addPropsSpread('rest'),
}),
code.edit.jsx.element({
when: code.match.jsx.tag('Text'),
transform: code.edit.jsx.replaceTag('span'),
}),
code.edit.jsx.element({
when: code.match.jsx.tag('Poster'),
transform: () => {