UNPKG

uview-plus

Version:

零云®uview-plus已兼容vue3支持多语言,120+全面的组件和便捷的工具会让您信手拈来。近期新增拖动排序、条码、图片裁剪、下拉刷新、虚拟列表、签名、Markdown等。

35 lines (31 loc) 660 B
import { AllowedComponentProps, VNodeProps } from './_common' declare interface GridProps { /** * 宫格的列数 * @default 3 */ col?: string | number /** * 是否显示宫格的边框 * @default true */ border?: boolean /** * 宫格的对齐方式,用于控制只有一两个宫格时的对齐场景 * @default "left" */ align?: 'left' | 'center' | 'right' /** * 点击宫格触发 * @param name `grid-item` 的 `name` */ onClick?: (name: any) => any } declare interface _Grid { new (): { $props: AllowedComponentProps & VNodeProps & GridProps } } export declare const Grid: _Grid