export default [
  {
    title: "下拉菜单",
    screenshot:
      "https://alifd.alicdn.com/fusion-cool/icons/icon-antd/dropdown-1.png",
    schema: {
      componentName: "PisellDropdown",
      props: {
        overlay: {
          type: "JSSlot",
          value: [
            {
              componentName: "Menu",
              props: {
                items: [
                  {
                    key: 'profile',
                    label: 'View profile',
                    icon: 'UserOutlined',
                    shortcut: '⌘+P',
                  },
                  {
                    key: 'settings',
                    label: 'Settings',
                    icon: 'SettingOutlined',
                    shortcut: '⌘+S',
                  },
                ],
              },
            },
          ],
        },
      },
      children: [
        {
          componentName: "Button",
          props: {
            type: "link",
            children: {
              type: "JSSlot",
              value: [
                {
                  componentName: "Typography.Text",
                  props: {
                    children: "Hover me",
                    style: {
                      color: "inherit",
                    },
                  },
                },
                {
                  componentName: "Icon",
                  props: {
                    type: "DownOutlined",
                    size: 15,
                    style: {
                      marginLeft: 4,
                      verticalAlign: "middle",
                    },
                  },
                },
              ],
            },
          },
        },
      ],
    },
  },
];
