Skip to main content
Version: Next

DataDownloadProps

Extends

  • DataDownloadDropdownProps

Extended by

Properties

addSketchName?

optional addSketchName: boolean;

Add sketch name to filename, default to true


addTimestamp?

optional addTimestamp: boolean;

Add timestamp to filename, defaults to true


data

data: object[];

Raw data to format and allow to download, nested objects and arrays will get flattened


filename?

optional filename: string;

Name minus extension


formats?

optional formats: ("json" | "csv")[];

Formats to offer, defaults to csv only


offset?

optional offset: object;

horizontal

horizontal: number;

vertical

vertical: number;

Inherited from

DataDownloadDropdownProps.offset


placement?

optional placement: Placement;

Inherited from

DataDownloadDropdownProps.placement


titleElement?

optional titleElement: Element;

Overrides

DataDownloadDropdownProps.titleElement