mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-10-24 20:17:07 +09:00
Ref https://github.com/webstudio-is/webstudio/issues/3632 Now states are always inferred from tags. User action states work for all tags. <img width="233" alt="Screenshot 2025-05-22 at 19 27 18" src="https://github.com/user-attachments/assets/f0dc6a07-8a01-4878-950e-61b6e489da7a" />
13 lines
375 B
TypeScript
13 lines
375 B
TypeScript
import { PaintBrushIcon } from "@webstudio-is/icons/svg";
|
|
import type { WsComponentMeta } from "@webstudio-is/sdk";
|
|
import { span } from "@webstudio-is/sdk/normalize.css";
|
|
import { props } from "./__generated__/span.props";
|
|
|
|
export const meta: WsComponentMeta = {
|
|
label: "Text",
|
|
icon: PaintBrushIcon,
|
|
presetStyle: { span },
|
|
initialProps: ["id", "class"],
|
|
props,
|
|
};
|