UNPKG

sard-uniapp

Version:

sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库

35 lines (34 loc) 905 B
import { type StyleValue } from 'vue'; export interface NoticeBarProps { rootStyle?: StyleValue; rootClass?: string; color?: string; background?: string; hideLeftIcon?: boolean; delay?: number; speed?: number; scrollable?: 'auto' | 'never' | 'always'; wrap?: boolean; closable?: boolean; linkable?: boolean; visible?: boolean; vertical?: boolean; } export declare const defaultNoticeBarProps: { delay: number; speed: number; scrollable: NoticeBarProps["scrollable"]; visible: boolean; }; export interface NoticeBarSlots { default?(props: Record<string, never>): any; 'left-icon'?(props: Record<string, never>): any; 'right-icon'?(props: Record<string, never>): any; } export interface NoticeBarEmits { (e: 'click', event: any): void; (e: 'close'): void; } export interface NoticeBarExpose { update: () => void; }