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

19 lines (15 loc) 561 B
import type { ExtractPropTypes } from 'vue' import { useCustomClassProp, useCustomStyleProp } from '../composables' import { CLICK_EVENT } from '../constants' import { makeNumberProp } from '../utils' export const overlayProps = { customClass: useCustomClassProp, customStyle: useCustomStyleProp, show: Boolean, duration: makeNumberProp(200), } export const overlayEmits = { [CLICK_EVENT]: (evt: MouseEvent) => evt instanceof Object, } export type OverlayProps = ExtractPropTypes<typeof overlayProps> export type OverlayEmits = typeof overlayEmits