import * as React from 'react'; export interface GalleryItemProps extends React.HTMLProps { /** content rendered inside the Gallery Item */ children?: React.ReactNode; /** Sets the base component to render. defaults to div */ component?: React.ElementType | React.ComponentType; } export const GalleryItem: React.FunctionComponent = ({ children = null, component = 'div', ...props }: GalleryItemProps) => { const Component: any = component; return {children}; }; GalleryItem.displayName = 'GalleryItem';