fenextjs-component
Version:
9 lines (8 loc) • 319 B
TypeScript
import React, { PropsWithChildren } from "react";
export interface FormProps extends PropsWithChildren {
id?: string;
onSubmit?: () => Promise<void>;
disabled?: boolean;
className?: string;
}
export declare const Form: ({ id, disabled, children, className, onSubmit, }: FormProps) => React.JSX.Element;