UNPKG

phx-react

Version:

PHX REACT

15 lines (14 loc) 461 B
import React, { ReactNode } from 'react'; export interface ItemRender { title: string | ReactNode; content: string | ReactNode; } export interface CardLayoutProps { className?: string; children?: ReactNode; col?: number; gap?: number; isCustomComponent?: boolean; data?: Array<ItemRender>; } export declare const PHXGridLayout: ({ children, className, col, data, gap, isCustomComponent, }: CardLayoutProps) => React.JSX.Element;