import * as React from 'react'; import styles from '@patternfly/react-styles/css/components/Form/form'; import { css } from '@patternfly/react-styles'; import cssMaxWidth from '@patternfly/react-tokens/dist/esm/c_form_m_limit_width_MaxWidth'; export interface FormProps extends Omit, 'ref'> { /** Anything that can be rendered as Form content. */ children?: React.ReactNode; /** Additional classes added to the Form. */ className?: string; /** Sets the Form to horizontal. */ isHorizontal?: boolean; /** Limits the max-width of the form. */ isWidthLimited?: boolean; /** Sets a custom max-width for the form. */ maxWidth?: string; /** @hide Forwarded ref */ innerRef?: React.Ref; } const FormBase: React.FunctionComponent = ({ children = null, className = '', isHorizontal = false, isWidthLimited = false, maxWidth = '', innerRef, ...props }: FormProps) => ( {children} ); export const Form = React.forwardRef((props: FormProps, ref: React.Ref) => ); Form.displayName = 'Form';