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

package.src.components.Card.CardFooter.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';
import styles from '@patternfly/react-styles/css/components/Card/card';
import { css } from '@patternfly/react-styles';

export interface CardFooterProps extends React.HTMLProps {
  /** Content rendered inside the Card Footer */
  children?: React.ReactNode;
  /** Additional classes added to the Footer */
  className?: string;
  /** Sets the base component to render. defaults to div */
  component?: keyof JSX.IntrinsicElements;
}

export const CardFooter: React.FunctionComponent = ({
  children,
  className,
  component = 'div',
  ...props
}: CardFooterProps) => {
  const Component = component as any;
  return (
    
      {children}
    
  );
};
CardFooter.displayName = 'CardFooter';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy