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

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

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

export const DrawerContentBody: React.FunctionComponent = ({
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
  className = '',
  children,
  hasPadding = false,
  ...props
}: DrawerContentBodyProps) => (
  
{children}
); DrawerContentBody.displayName = 'DrawerContentBody';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy