mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(core): add text primitive
This commit is contained in:
@@ -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: () => {
|
||||
|
||||
Reference in New Issue
Block a user