Skip to content

0.2.0 – Custom transforms!

Pre-release
Pre-release

Choose a tag to compare

@octet-stream octet-stream released this 08 Mar 19:57
· 137 commits to main since this release

Add

  • Implement custom transforms support for transformNodes, SlateView and useSlateToReact;
  • Add documentation for custom transforms;
  • Expose Replace<L, R> type utility
  • Expose NodeProps<T>, LeafProps<T> and ElementProps<T> types.

Updated

  • Rename types:
    • Transform -> TransformImplementation,
    • CreateTransformResult -> Transform,
    • CreateLeafTransformResult -> LeafTransform
    • CreateElementTransformResult -> ElementTransform

Documentation can be found in readme.


All changes: v0.1.0...v0.2.0