notification/notification-list.tsx

arco-design-vue · packages/web-vue/components/notification/notification-list.tsx · typescript · MIT
ui

notification-list.tsx from arco-design/arco-design-vue

// Source: https://github.com/arco-design/arco-design-vue | License: MIT | Copyright 2021 Bytedance, Inc. and its affiliates
// Provided via justclaw.it.com; keep this notice with the code.
import type { PropType } from 'vue';
import { defineComponent, TransitionGroup } from 'vue';
import { getPrefixCls } from '../_utils/global-config';
import { toKebabCase } from '../_utils/convert-case';
import Notification from './notification.vue';
import {
  NOTIFICATION_POSITION,
  NotificationItem,
  NotificationPosition,
} from './interface';
import usePopupManager from '../_hooks/use-popup-manager';
import { getSlotFunction } from '../_utils/vue-utils';

export default defineComponent({
  name: 'NotificationList',
  props: {
    notifications: {
      type: Array as PropType<NotificationItem[]>,
 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key