UNPKG

react-lightning-design-system

Version:

Salesforce Lightning Design System components built with React

30 lines (29 loc) 625 B
import React, { Ref, ReactNode, CSSProperties } from 'react'; /** * */ export type FormElementProps = { id?: string; className?: string; controlId?: string; label?: string; required?: boolean; error?: boolean | string | { message: string; }; errorId?: string; readOnly?: boolean; cols?: number; dropdown?: JSX.Element; elementRef?: Ref<HTMLDivElement>; style?: CSSProperties; children?: ReactNode; tooltip?: ReactNode; tooltipIcon?: string; }; /** * */ export declare const FormElement: React.FC<FormElementProps> & { isFormElement: boolean; };