@carbon/react
Version:
React components for the Carbon Design System
24 lines (23 loc) • 811 B
TypeScript
/**
* Copyright IBM Corp. 2016, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import PropTypes from 'prop-types';
import { type ComponentProps } from 'react';
export type FormProps = ComponentProps<'form'>;
declare function Form({ className, children, ...other }: FormProps): import("react/jsx-runtime").JSX.Element;
declare namespace Form {
var propTypes: {
/**
* Provide children to be rendered inside of the <form> element
*/
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
/**
* Provide a custom className to be applied on the containing <form> node
*/
className: PropTypes.Requireable<string>;
};
}
export default Form;