<template>
  <CustomDialog>
    <template slot="heading" slot-scope="slotProps">
      <h1>Items ({{ slotProps.items.length }})</h1>
    </template>
  </CustomDialog>
</template>