UNPKG

c-uview-plus

Version:

零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水

35 lines (31 loc) 694 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