forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
upload
command to list of console commands
- Loading branch information
1 parent
d8adbf1
commit ee91d9d
Showing
2 changed files
with
90 additions
and
2 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...blic/management/components/endpoint_responder/command_render_components/upload_action.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import React, { memo } from 'react'; | ||
import type { ActionRequestComponentProps } from '../types'; | ||
|
||
export const UploadActionResult = memo< | ||
ActionRequestComponentProps<{ | ||
file: File; | ||
overwrite?: boolean; | ||
}> | ||
>((props) => { | ||
return <div>{'UploadActionResult placeholder'}</div>; | ||
}); | ||
UploadActionResult.displayName = 'UploadActionResult'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters