UNPKG
devi-rich-editor
Version:
latest (1.8.0)
1.8.0
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0
Reusable Rich Text Editor built with TipTap and React.
devi-rich-editor
/
dist
/
types
/
components
/
Editor.d.ts
10 lines
(9 loc)
•
270 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
default
as
React
}
from
'react'
;
export
interface
EditorProps
{
initialContent
?:
string
;
onChange
?:
(
content
:
string
) =>
void
;
readOnly
?:
boolean
;
className
?:
string
; }
declare
const
RichEditor
:
React
.
FC
<
EditorProps
>;
export
default
RichEditor
;