UNPKG

ano-ui

Version:

<p align="center"> <img src="https://github.com/ano-ui/ano-ui/raw/main/public/logo.svg" style="width:100px;" /> <h1 align="center">Ano-UI (WIP)</h1> <p align="center">An UniApp UI components with UnoCSS.</p> </p> <p align="center"> <a href="https://www.np

20 lines (16 loc) 521 B
import type { Type } from '../composables' export const notifyPositionList = ['default', 'top', 'top-left', 'top-right', 'bottom', 'bottom-left', 'bottom-right'] as const export type NotifyPositionType = typeof notifyPositionList[number] export interface NotifyOptions { type?: Type position?: NotifyPositionType message?: string duration?: number showIcon?: boolean customIcon?: boolean showClose?: boolean } export interface NotifyInst { show: (options?: NotifyOptions) => void close: () => void }