@progress/kendo-react-form
Version:
React Form is a small and fast package for form state management with zero dependencies. KendoReact Form package
68 lines (67 loc) • 2.18 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { ResponsiveFormBreakPoint } from './interfaces/ResponsiveFormBreakPoint.js';
import { Gutters } from './interfaces/Gutters.js';
import * as React from 'react';
/**
* @hidden
*/
export declare const DEFAULT_FIELDSET_GUTTERS: {
cols?: number | string | null;
rows?: number | string | null;
};
/**
* Represents the props of the KendoReact FormFieldSet component.
*/
export interface FormFieldSetProps {
/**
* Defines the number of columns of the fieldset. Can be a number or an array of responsive breakpoints.
*/
cols?: number | ResponsiveFormBreakPoint[];
/**
* Defines the colspan for the fieldset related to the parent Form component columns. Can be a number or an array of responsive breakpoints.
*/
colSpan?: number | ResponsiveFormBreakPoint[];
/**
* Defines the gutters for the fieldset. You can specify gutters for rows and columns. Number is equivalent to px.
*/
gutters?: string | number | Gutters | ResponsiveFormBreakPoint[];
/**
* Defines the legend for the fieldset.
*/
legend?: string;
/**
* @hidden
*/
children?: any;
/**
* The styles that are applied to the form DOM element.
*/
style?: React.CSSProperties;
/**
* Sets a class for the form DOM element.
*/
className?: string;
}
/**
* Represent the `ref` of the FormFieldSet component.
*/
export interface FormFieldSetHandle {
/**
* Represents the props of the FormFieldSet component.
*/
props: FormFieldSetProps;
/**
* Represents the element of the FormFieldSet component.
*/
element: HTMLFieldSetElement | null;
}
/**
* Represents the KendoReact FormFieldSet component.
*/
export declare const FormFieldSet: React.FunctionComponent<FormFieldSetProps>;