import * as React from 'react'; import styles from '@patternfly/react-styles/css/layouts/Stack/stack'; import { css } from '@patternfly/react-styles'; export interface StackItemProps extends React.HTMLProps { /** Flag indicating if this Stack Layout item should fill the available vertical space. */ isFilled?: boolean; /** additional classes added to the Stack Layout Item */ children?: React.ReactNode; /** content rendered inside the Stack Layout Item */ className?: string; } export const StackItem: React.FunctionComponent = ({ isFilled = false, className = '', children = null, ...props }: StackItemProps) => (
{children}
); StackItem.displayName = 'StackItem';