UNPKG

synapse-react-client

Version:

[![Build Status](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client.svg?branch=main)](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synaps

14 lines (13 loc) 507 B
/// <reference types="react" /> import { UiSchema } from '@rjsf/core'; import { SummaryFormat, Step, FormSchema } from './types'; export interface SummaryTableProps { isWizard?: boolean; formData: any; callbackFn?: Function; steps: Step[]; schema: FormSchema; uiSchema: UiSchema; } export declare function getFlatData(formData: any, steps: Step[], schema: FormSchema, uiSchema: UiSchema): SummaryFormat[]; export default function SummaryTable(props: SummaryTableProps): JSX.Element;