import { CSSProperties, ReactElement, ReactNode } from "react"; export interface MasonryProps { children: ReactNode; /** * Injected by ResponsiveMasonry * * Default Value = 3 */ columnsCount?: number; /** * Margin surrounding each item e.g. "10px" or "1.5rem" (css gap property) * * Default Value = "0" */ gutter?: string; className?: string; style?: CSSProperties; /** * Tag name of the container element * * Default Value = "div" */ containerTag?: string; /** * Tag name of the item element * * Default Value = "div" */ itemTag?: string; /** * Style object applied to each item * * Default Value = {} */ itemStyle?: CSSProperties; /** * If true, items are placed in the order they are passed * * Default Value = false */ sequential?: boolean; } export interface ResponsiveMasonryProps { children: ReactNode; /** * A Object containing Keys as breakpoints in px and values as the columns count * * Default Value = { 350: 1, 750: 2, 900: 3 } */ columnsCountBreakPoints?: { [key: number]: number; }; /** * A Object containing Keys as breakpoints in px and values as the gutter size * * Default Value = { 350: '10px', 750: '10px', 900: '10px' } */ gutterBreakPoints?: { [key: number]: string; }; className?: string; style?: CSSProperties; } export default function Masonry(props: MasonryProps): ReactElement; export function ResponsiveMasonry(props: ResponsiveMasonryProps): ReactElement;