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.

1.5 KB
Raw Blame
import type { PropMeta } from "@webstudio-is/sdk";

export const propsNavigationMenu: Record<string, PropMeta> = {
  defaultValue: { required: false, control: "text", type: "string" },
  delayDuration: {
    description:
      "The duration from when the pointer enters the trigger until the tooltip gets opened.\n@defaultValue 200",
    required: false,
    control: "number",
    type: "number",
  },
  dir: {
    required: false,
    control: "radio",
    type: "string",
    options: ["ltr", "rtl"],
    description: "The text directionality of the element",
  },
  skipDelayDuration: {
    description:
      "How much time a user has to enter another trigger without incurring a delay again.\n@defaultValue 300",
    required: false,
    control: "number",
    type: "number",
  },
  value: {
    required: false,
    control: "text",
    type: "string",
    description: "Current value of the element",
  },
};
export const propsNavigationMenuList: Record<string, PropMeta> = {};
export const propsNavigationMenuViewport: Record<string, PropMeta> = {};
export const propsNavigationMenuContent: Record<string, PropMeta> = {};
export const propsNavigationMenuItem: Record<string, PropMeta> = {
  value: {
    required: false,
    control: "text",
    type: "string",
    description: "Current value of the element",
  },
};
export const propsNavigationMenuLink: Record<string, PropMeta> = {
  active: { required: false, control: "boolean", type: "boolean" },
};
export const propsNavigationMenuTrigger: Record<string, PropMeta> = {};