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

package.src.components.Modal.ModalBoxDescription.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/ModalBox/modal-box';

export interface ModalBoxDescriptionProps {
  /** Content rendered inside the description. */
  children?: React.ReactNode;
  /** Additional classes added to the description. */
  className?: string;
  /** Id of the description. */
  id?: string;
}

export const ModalBoxDescription: React.FunctionComponent = ({
  children = null,
  className = '',
  id = '',
  ...props
}: ModalBoxDescriptionProps) => (
  
{children}
); ModalBoxDescription.displayName = 'ModalBoxDescription';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy