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

package.src.components.Text.TextContent.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/Content/content';
import { css } from '@patternfly/react-styles';

export interface TextContentProps extends React.HTMLProps {
  /** Content rendered within the TextContent */
  children?: React.ReactNode;
  /** Additional classes added to the TextContent */
  className?: string;
  /** Flag to indicate the all links in a the content block have visited styles applied if the browser determines the link has been visited */
  isVisited?: boolean;
}

export const TextContent: React.FunctionComponent = ({
  children,
  className = '',
  isVisited = false,
  ...props
}: TextContentProps) => (
  
{children}
); TextContent.displayName = 'TextContent';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy