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

package.src.layouts.Split.SplitItem.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/layouts/Split/split';
import { css } from '@patternfly/react-styles';

export interface SplitItemProps extends React.HTMLProps {
  /** Flag indicating if this Split Layout item should fill the available horizontal space. */
  isFilled?: boolean;
  /** content rendered inside the Split Layout Item */
  children?: React.ReactNode;
  /** additional classes added to the Split Layout Item */
  className?: string;
}

export const SplitItem: React.FunctionComponent = ({
  isFilled = false,
  className = '',
  children = null,
  ...props
}: SplitItemProps) => (
  
{children}
); SplitItem.displayName = 'SplitItem';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy