import * as React from 'react'; import styles from '@patternfly/react-styles/css/components/Form/form'; import { css } from '@patternfly/react-styles'; export interface ActionGroupProps extends React.HTMLProps { /** Anything that can be rendered as ActionGroup content. */ children?: React.ReactNode; /** Additional classes added to the ActionGroup. */ className?: string; } export const ActionGroup: React.FunctionComponent = ({ children = null, className = '', ...props }: ActionGroupProps) => { const customClassName = css(styles.formGroup, styles.modifiers.action, className); const formActionsComponent =
{children}
; return (
{formActionsComponent}
); }; ActionGroup.displayName = 'ActionGroup';