mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 22:21:20 +02:00
Normalize Slat and Editable component documentation. Add under construction message to Editable component.
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
The `Editable` component is the main editing component. Note that it must be inside a `Slate` component.
|
||||
|
||||
### Props
|
||||
|
||||
It takes as its props, any props accepted by a Textarea element plus the following props.
|
||||
|
||||
```typescript
|
||||
@@ -22,3 +24,5 @@ export type EditableProps = {
|
||||
disableDefaultStyles?: boolean
|
||||
} & React.TextareaHTMLAttributes<HTMLDivElement>
|
||||
```
|
||||
|
||||
_NOTE: Detailed breakdown of Props not completed. Refer to the source code at the moment. Under construction._
|
||||
|
Reference in New Issue
Block a user