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

package.src.components.Tabs.TabContentBody.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 { css } from '@patternfly/react-styles';
import styles from '@patternfly/react-styles/css/components/TabContent/tab-content';

export interface TabContentBodyProps extends React.HTMLProps {
  /** Content rendered inside the tab content body. */
  children: React.ReactNode;
  /** Additional classes added to the tab content body. */
  className?: string;
  /** Indicates if there should be padding around the tab content body */
  hasPadding?: boolean;
}

export const TabContentBody: React.FunctionComponent = ({
  children,
  className,
  hasPadding,
  ...props
}: TabContentBodyProps) => (
  
{children}
); TabContentBody.displayName = 'TabContentBody';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy