Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Jun 4, 2018
2 parents 0515271 + f189bf5 commit 1fa1dec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/datatable/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ export class DataTable extends Component {
});

if(window.navigator.msSaveOrOpenBlob) {
navigator.msSaveOrOpenBlob(blob, this.exportFilename + '.csv');
navigator.msSaveOrOpenBlob(blob, this.props.exportFilename + '.csv');
}
else {
let link = document.createElement("a");
Expand Down
3 changes: 2 additions & 1 deletion src/components/listbox/ListBox.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ interface ListBoxProps {
id?: string,
value?: any,
options?: Array<any>,
optionLabel?: string,
itemTemplate?(): void,
style?: object,
listStyle?: object,
Expand All @@ -15,4 +16,4 @@ interface ListBoxProps {
onChange?(e: {originalEvent: Event, value: any}): void;
}

export class ListBox extends React.Component<ListBoxProps,any> {}
export class ListBox extends React.Component<ListBoxProps,any> {}

0 comments on commit 1fa1dec

Please sign in to comment.