@tomino/dynamic-form-semantic-ui
Version:
Semantic UI form renderer based on dynamic form generation
26 lines (25 loc) • 847 B
TypeScript
import * as React from 'react';
import { FormComponentProps, FormComponent } from '@tomino/dynamic-form';
import { FlexDirectionProperty, FlexWrapProperty } from 'csstype';
export declare const stack: string;
export declare function createContainerFlexStyle(props: FlexProps): React.CSSProperties;
export declare function createItemFlexStyle(props: FlexChildProps): React.CSSProperties;
export declare type Props = {
EmptyCell?: React.FC<FormComponentProps>;
};
export declare type FlexProps = {
gap: number;
wrap: FlexWrapProperty;
layout: FlexDirectionProperty;
justifyContent: string;
alignItems: string;
alignContent: string;
};
export declare type FlexChildProps = {
flex: string;
basis: number;
grow: number;
shrink: number;
alignSelf: string;
};
export declare const FlexView: FormComponent;