@plurid/plurid-ui-components-react
Version:
Plurid User Interface Components for React
22 lines (21 loc) • 552 B
TypeScript
import React from 'react';
import { Theme } from '@plurid/plurid-themes';
export interface FormlineProperties {
text: string;
Element?: React.FC;
theme?: Theme;
level?: number;
responsive?: boolean;
style?: React.CSSProperties;
className?: string;
children?: React.ReactNode;
}
/**
* Renders a descriptive text and a form element side by side.
*
* The form element can be passed as `Element` prop or as child.
*
* @param properties
*/
declare const Formline: React.FC<FormlineProperties>;
export default Formline;