Skip to content

Commit

Permalink
Add children prop to types (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
iofjuupasli authored Aug 8, 2022
1 parent 14195c7 commit d2a0e90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
declare module "react-xmasonry" {
export interface XMasonryProps {
children?: React.ReactNode;
center?: boolean;
maxColumns?: number;
responsive?: boolean;
Expand All @@ -10,6 +11,7 @@ declare module "react-xmasonry" {
updateOnImagesLoad?: boolean;
}
export interface XBlockProps {
children?: React.ReactNode;
width?: number;
}
export const XMasonry: React.ComponentClass<XMasonryProps, {}>;
Expand Down

0 comments on commit d2a0e90

Please sign in to comment.