Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
Raw History Blame Contribute Delete
695 Bytes
import clsx from 'clsx';
import './style.scss';
/**
* Render a form section heading
* @param {Object} props Component props
* @param {string=} props.className optional extra CSS class(es) to be added to the component
* @param {import('react').ReactNode=} props.children react element props that must contain some children
* @param {Object=} props.otherProps react element props that must contain some children
* @returns {import('react').ReactElement} React component
*/
const FormSectionHeading = ( { className, children, ...otherProps } ) => (
<h3 { ...otherProps } className={ clsx( className, 'form-section-heading' ) }>
{ children }
</h3>
);
export default FormSectionHeading;