phx-react
Version:
PHX REACT
14 lines (13 loc) • 588 B
TypeScript
import React from 'react';
import { GridColumns, Responsive, SpacingScale } from '../types';
export interface PHXInlineGridProps {
children: React.ReactNode;
/** Số cột hoặc tỷ lệ cột */
columns?: Responsive<GridColumns>;
/** Khoảng cách giữa các ô */
gap?: SpacingScale;
/** Căn chỉnh các item theo chiều dọc trong ô */
alignItems?: 'start' | 'center' | 'end' | 'stretch';
fullWidth?: boolean;
}
export declare const PHXInlineGrid: ({ children, columns, gap, alignItems, fullWidth, }: PHXInlineGridProps) => React.JSX.Element;