export default {
  type: 'page',
  title: 'Dialog',
  body: [
    {
      type: 'button',
      label: '多级弹框',
      actionType: 'drawer',
      drawer: {
        title: '提示',
        closeOnEsc: true,
        size: 'xxx',
        position: 'left',
        overlay: false,
        closeOnOutside: true,
        body: '这是个简单的弹框',

        actions: [
          {
            type: 'button',
            actionType: 'confirm',
            label: '确认',
            primary: true
          },

          {
            type: 'button',
            actionType: 'drawer',
            label: '再弹一个',
            drawer: {
              title: '弹框中的弹框',
              closeOnEsc: false,
              // closeOnOutside: true,
              body: '如果你想，可以无限弹下去',
              actions: []
            }
          }
        ]
      }
    }
  ]
};
