@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
21 lines (20 loc) • 630 B
TypeScript
/**
* MSKCC DSM 2021, 2023
*/
import PropTypes from 'prop-types';
import { type ComponentProps } from 'react';
type FormProps = ComponentProps<'form'>;
declare function Form({ className, children, ...other }: FormProps): 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;