mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
## Description This is only for Canvas rendering. <img width="829" alt="image" src="https://github.com/webstudio-is/webstudio/assets/5077042/b63efe11-effd-4ed7-b9ff-a19d4a19a125"> <img width="244" alt="image" src="https://github.com/webstudio-is/webstudio/assets/5077042/3f59819b-486a-4d75-8890-c5c14950393c"> Editable <img width="269" alt="image" src="https://github.com/webstudio-is/webstudio/assets/5077042/e25af3b0-0903-4390-aec8-1fc7383ec24b"> For generating it will change a little. ## Steps for reproduction [Play Ref https://xml-element.development.webstudio.is/builder/cab934af-8615-411a-99c1-5822a98eac74](https://xml-element.development.webstudio.is/builder/cab934af-8615-411a-99c1-5822a98eac74) ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env.example` and the `builder/env-check.js` if mandatory
23 lines
450 B
TypeScript
23 lines
450 B
TypeScript
import { XmlIcon } from "@webstudio-is/icons/svg";
|
|
|
|
import {
|
|
type WsComponentMeta,
|
|
type WsComponentPropsMeta,
|
|
} from "@webstudio-is/react-sdk";
|
|
|
|
import { props } from "./__generated__/xml-node.props";
|
|
|
|
export const meta: WsComponentMeta = {
|
|
category: "xml",
|
|
order: 6,
|
|
type: "container",
|
|
icon: XmlIcon,
|
|
stylable: false,
|
|
description: "Xml Node",
|
|
};
|
|
|
|
export const propsMeta: WsComponentPropsMeta = {
|
|
props,
|
|
initialProps: ["tag"],
|
|
};
|