DataDownloadToolbarProps
Extends
DataDownloadProps
.Omit
<ToolbarProps
,"toolbarCls"
|"children"
>
Properties
addSketchName?
optional addSketchName: boolean;
Add sketch name to filename, default to true
Inherited from
DataDownloadProps
.addSketchName
addTimestamp?
optional addTimestamp: boolean;
Add timestamp to filename, defaults to true
Inherited from
DataDownloadProps
.addTimestamp
data
data: object[];
Raw data to format and allow to download, nested objects and arrays will get flattened
Inherited from
filename?
optional filename: string;
Name minus extension
Inherited from
formats?
optional formats: ("json" | "csv")[];
Formats to offer, defaults to csv only
Inherited from
offset?
optional offset: object;
horizontal
horizontal: number;
vertical
vertical: number;
Inherited from
placement?
optional placement: Placement;
Inherited from
style?
optional style: CSSProperties;
Inherited from
Omit.style
title
title: string;
titleAlign?
optional titleAlign:
| "center"
| "stretch"
| "flex-end"
| "flex-start"
| "baseline";
Inherited from
Omit.titleAlign
titleElement?
optional titleElement: Element;
Inherited from
DataDownloadProps
.titleElement
useGutters?
optional useGutters: boolean;
Inherited from
Omit.useGutters
variant?
optional variant: "min" | "dense" | "regular";
defaults to regular height, dense is smaller height, min is height of toolbar items
Inherited from
Omit.variant