1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-21 14:41:23 +02:00

Remove export from EditableProps in docs

This commit is contained in:
Sunny Hirai
2023-04-13 09:42:39 -07:00
parent 20cff0e35d
commit 3c4e4b6ab3

View File

@@ -9,7 +9,7 @@ The `Editable` component is the main editing component. Note that it must be ins
It takes as its props, any props accepted by a Textarea element plus the following props. It takes as its props, any props accepted by a Textarea element plus the following props.
```typescript ```typescript
export type EditableProps = { type EditableProps = {
decorate?: (entry: NodeEntry) => Range[] decorate?: (entry: NodeEntry) => Range[]
onDOMBeforeInput?: (event: InputEvent) => void onDOMBeforeInput?: (event: InputEvent) => void
placeholder?: string placeholder?: string