@tomino/dynamic-form-semantic-ui
Version:
Semantic UI form renderer based on dynamic form generation
31 lines (30 loc) • 1.07 kB
TypeScript
import * as React from 'react';
import { FormComponentProps, FormComponent, BoundProp } from '@tomino/dynamic-form';
export declare type TextProps = {
value: string;
text: string;
inline: boolean;
};
export declare const TextComponent: React.FC<FormComponentProps<TextProps>>;
export declare const TextView: FormComponent<TextProps>;
export declare type ImageProps = {
text?: string;
src?: string;
imageWidth?: string;
imageHeight?: string;
};
export declare const Image: React.FC<FormComponentProps<ImageProps>>;
export declare const ImageView: FormComponent<ImageProps>;
export declare type LinkProps = {
text: string;
url: string;
};
export declare const Link: React.FC<FormComponentProps<LinkProps>>;
export declare const LinkView: FormComponent<LinkProps>;
export declare type LinkSelectorProps = {
text: string;
target: BoundProp;
source: BoundProp;
};
export declare const LinkSelectorComponent: React.FC<FormComponentProps<LinkSelectorProps>>;
export declare const LinkSelectorView: FormComponent<LinkSelectorProps>;