mod-arch-shared
Version:
Shared UI components and utilities for modular architecture micro-frontend projects
21 lines • 806 B
TypeScript
import * as React from 'react';
type ThemeAwareFormGroupWrapperProps = {
children: React.ReactNode;
label?: string;
fieldId: string;
isRequired?: boolean;
/** Always-visible description text rendered outside the fieldset (MUI) or before children (PF) */
descriptionTextNode?: React.ReactNode;
helperTextNode?: React.ReactNode;
hasError?: boolean;
className?: string;
role?: string;
isInline?: boolean;
/** Skip wrapping in FormFieldset — use for components like NumberInput */
skipFieldset?: boolean;
labelHelp?: React.ReactElement;
'data-testid'?: string;
};
declare const ThemeAwareFormGroupWrapper: React.FC<ThemeAwareFormGroupWrapperProps>;
export default ThemeAwareFormGroupWrapper;
//# sourceMappingURL=ThemeAwareFormGroupWrapper.d.ts.map