UNPKG
fantasy-editor
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
0.1.0
A React Rich Text Editor Based On Slate
fantasy-editor.jieee.dev
lingjieee/fantasy-editor
fantasy-editor
/
lib
/
components
/
file-icon
/
FileIcon.d.ts
11 lines
(10 loc)
•
261 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
FunctionComponent
}
from
'react'
;
interface
OwnProps
{
extname
?:
string
;
url
?:
string
;
name
?:
string
;
className
?:
string
; }
declare
type
Props
=
OwnProps
;
declare
const
FileIcon
:
FunctionComponent
<
Props
>;
export
{
FileIcon
};