All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.layouts.Gallery.GalleryItem.tsx Maven / Gradle / Ivy

Go to download

This library provides a set of common React components for use with the PatternFly reference implementation.

The newest version!
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';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy