diff --git a/types.d.ts b/types.d.ts index 221cc0d..738b150 100644 --- a/types.d.ts +++ b/types.d.ts @@ -1,5 +1,6 @@ declare module "react-xmasonry" { export interface XMasonryProps { + children?: React.ReactNode; center?: boolean; maxColumns?: number; responsive?: boolean; @@ -10,6 +11,7 @@ declare module "react-xmasonry" { updateOnImagesLoad?: boolean; } export interface XBlockProps { + children?: React.ReactNode; width?: number; } export const XMasonry: React.ComponentClass;