1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-24 09:13:24 +01:00
Tim Buckley d8adf51add
TypeScript Improvement: Use [key: string]: unknown, not [key: string]: any (#3566)
* Change all [key:string]:any -> unknown

Skipping slate-hyperscript, since it seems to be an appropriate use of key: any

* Minor typo fix docs/api/locations

* Check/assert unknown attributes when needed
2020-05-04 17:16:03 -04:00
..
2019-11-27 20:54:42 -05:00
2020-04-24 16:26:26 -07:00
2019-11-27 20:54:42 -05:00

This package contains the React-specific logic for Slate. It's separated further into a series of directories:

  • Components — containing the React components for rendering Slate editors.
  • Hooks — containing a few React hooks for Slate editors.
  • Plugins — containing the React-specific plugins for Slate editors.
  • Utils — containing a few private convenience modules.

Feel free to poke around in each of them to learn more!