package.src.layouts.Split.SplitItem.tsx Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react-core Show documentation
Show all versions of react-core Show documentation
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';