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; /** Sets the base component to render. Defaults to div. */ component?: React.ReactNode; } export const SplitItem: React.FunctionComponent = ({ isFilled = false, className = '', children = null, component = 'div', ...props }: SplitItemProps) => { const Component = component as any; return ( {children} ); }; SplitItem.displayName = 'SplitItem';