Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/forms / build / dist / src / new-forms / plugins / FieldSetPlugin.d.ts
Size: Mime:
import * as React from 'react';
import { SerializerFunction } from '../typings';
import { FieldSetProps } from '../FieldSet';
import { InputState, InputProps } from '../inputs';
import { DefaultStateReturn } from './PluginsContext';
export declare type FieldSetRenderPropProps = InputProps & FieldSetProps & {
    ref?: any;
    inputsList: InputState[];
};
export declare type FieldSetPluginProps = FieldSetRenderPropProps & {
    renderFieldSet?: (props?: FieldSetRenderPropProps) => React.ReactElement<HTMLFieldSetElement | React.ReactFragment>;
};
export declare type FieldSetDefaultStateReturn = DefaultStateReturn & {
    serializer: SerializerFunction<any>;
};
declare class FieldSetPlugin extends React.Component<FieldSetPluginProps> {
    static isSatisfiedByProps(props: {
        type: string;
    }): boolean;
    static defaultState: ((inputState: InputState<import("../inputs/typings").AnyObj>) => FieldSetDefaultStateReturn) & import("mobx/lib/core/action").IAction;
    static defaultProps: {
        renderFieldSet: (props: FieldSetRenderPropProps) => JSX.Element;
    };
    render(): React.ReactElement<{} | React.ReactNodeArray | HTMLFieldSetElement>;
}
export { FieldSetPlugin };
export default FieldSetPlugin;