phx-react
Version:
PHX REACT
16 lines (15 loc) • 499 B
TypeScript
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>;
fitContent?: boolean;
}
export declare const PHXGridLayout: ({ children, className, col, data, gap, isCustomComponent, fitContent, }: CardLayoutProps) => React.JSX.Element;