Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

297 B
Raw Blame
/** Builds persisted IDs only for exported animation component names. */
type AnimationComponentName = keyof typeof import("../components");

export const getAnimationComponentId = <Name extends AnimationComponentName>(
  name: Name
) => `@webstudio-is/sdk-components-animation:${name}` as const;