UNPKG

test-nut-ui

Version:

<p align="center"> <img alt="logo" src="https://img11.360buyimg.com/imagetools/jfs/t1/211965/25/7152/22022/61b16785E433119bb/aa41d7a9f7e823f3.png" width="150" style="margin-bottom: 10px;"> </p>

21 lines (20 loc) 606 B
import React, { FunctionComponent, ReactNode } from 'react'; import { BasicComponent } from '../../utils/typings'; type GridDirection = 'horizontal' | 'vertical'; export interface GridItemProps extends BasicComponent { /** * 文字 * @default - */ text: string | ReactNode desc: string; index: number; columns: string | number; gap: string | number; center: boolean; square: boolean; reverse: boolean; direction: GridDirection; } export declare const GridItem: FunctionComponent<Partial<GridItemProps> & React.HTMLAttributes<HTMLDivElement>>; export {};