Function generateStateHistoryCSV
- generateStateHistoryCSV(__namedParameters): null | string
Parameters
__namedParameters: {
data: any;
mapping: StateHistoryOIDColMapping[];
timeColName?: string;
timeFormatter?: ((t) => string);
}
data: any
Optional
timeColName?: string
Optional
timeFormatter?: ((t) => string)
- (t): string
Returns string
Returns null | string
Generate CSV from useStateHistory hook data
note: timeColName is used with timeFormatter function only