UNPKG
@searcly/widget
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
Searcly Visual Search Widget for React
github.com/Searcly-ai/Searcly-Widgets
@searcly/widget
/
dist
/
types
/
components
/
DropZone.d.ts
10 lines
(9 loc)
•
256 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
React
from
'react'
;
import
{ defaultTheme }
from
'../theme'
;
interface
DropZoneProps
{
onDrop
:
(
files
:
File
[]
) =>
void
;
loading
?:
boolean
;
theme
?:
typeof
defaultTheme; }
export
declare
const
DropZone
:
React
.
FC
<
DropZoneProps
>;
export
{};