UNPKG

sard-uniapp

Version:

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

38 lines (37 loc) 964 B
import { type StyleValue } from 'vue'; export interface NavbarProps { rootStyle?: StyleValue; rootClass?: string; title?: string; flow?: boolean; showBack?: boolean; backText?: string; fixed?: boolean; statusBar?: boolean; fixationStyle?: StyleValue; fixationClass?: string; } export interface NavbarSlots { default?(props: Record<string, never>): any; title?(props: Record<string, never>): any; left?(props: Record<string, never>): any; right?(props: Record<string, never>): any; } export interface NavbarEmits { (e: 'back', event: any): void; } export interface NavbarItemProps { rootStyle?: StyleValue; rootClass?: string; text?: string; icon?: string; iconFamily?: string; iconSize?: string; reverse?: boolean; } export interface NavbarItemSlots { default?(props: Record<string, never>): any; } export interface NavbarItemEmits { (e: 'click', event: any): void; }