Installation
npm install --save @types/react-responsive-masonry
Summary
This package contains type definitions for react-responsive-masonry (https://github.com/cedricdelpoux/react-responsive-masonry#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-responsive-masonry.
import { CSSProperties, ReactElement, ReactNode } from "react";
export interface MasonryProps {
children: ReactNode;
columnsCount?: number;
gutter?: string;
className?: string;
style?: CSSProperties;
}
export interface ResponsiveMasonryProps {
children: ReactNode;
columnsCountBreakPoints?: {
[key: number]: number;
};
className?: string;
style?: CSSProperties;
}
export default function Masonry(props: MasonryProps): ReactElement;
export function ResponsiveMasonry(props: ResponsiveMasonryProps): ReactElement;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react
Credits
These definitions were written by themashcodee.