UNPKG

@hhgtech/hhg-components

Version:
29 lines (28 loc) 1.23 kB
import { ForwardRefExoticComponent } from 'react'; import { BoxProps } from '@mantine/core'; import { ChipGroup } from "./chipGroup"; import { FormLayoutContextType } from "./context"; import { FormRow } from "./formRow"; import { SubmitBtn } from "./submitBtn"; import { Switching } from "./switching"; import { Unit } from "./unit"; import { BorderBoxControl } from "../components/borderBoxControl"; import { BorderInlineControl } from "../components/borderInlineControl"; import { Error } from "../components/borderInlineControl/error"; import { Control } from "../components/control"; export type HealthToolFormWrapperProps = { component?: 'form' | 'div'; } & FormLayoutContextType & BoxProps; export interface CompoundedComponent extends ForwardRefExoticComponent<HealthToolFormWrapperProps> { BorderInlineControl: typeof BorderInlineControl; BorderBoxControl: typeof BorderBoxControl; Control: typeof Control; Error: typeof Error; FormRow: typeof FormRow; Submit: typeof SubmitBtn; Unit: typeof Unit; Switching: typeof Switching; ChipGroup: typeof ChipGroup; } declare const HealthToolFormWrapper: CompoundedComponent; export { HealthToolFormWrapper };