UNPKG

apphouse

Version:

Component library for React that uses observable state management and theme-able components.

14 lines (13 loc) 615 B
import React, { FormHTMLAttributes } from 'react'; import { Modify } from '../../types/type.utils'; import { CSSProperties } from 'glamor'; import { ApphouseComponent } from '../component.interfaces'; export type FormStyle = CSSProperties; type HtmlFormProps = Modify<FormHTMLAttributes<HTMLFormElement>, { children?: React.ReactNode; }>; export interface FormProps extends HtmlFormProps, ApphouseComponent<FormStyle> { } declare function FormComponent({ children, styleOverwrites, ...formProps }: FormProps): import("react/jsx-runtime").JSX.Element; export declare const Form: typeof FormComponent; export {};