mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
8c716b173a
* chore: Update editor generics * fix: Address PR review on editor generics - Restore null-guard on Link click handler so anchors aren't inert when no onClickLink is provided - Mark onClickLink optional in LinkOptions and openLink command to match runtime - Remove dead `collapsed` option from HeadingOptions - Make ToggleBlock dictionary optional and restore optional-chained access for server-side schema instantiation Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
11 lines
274 B
TypeScript
11 lines
274 B
TypeScript
import type { ComponentProps } from "../types";
|
|
import Node from "./Node";
|
|
|
|
export default abstract class ReactNode<
|
|
TOptions extends object = object,
|
|
> extends Node<TOptions> {
|
|
abstract component: (
|
|
props: Omit<ComponentProps, "theme">
|
|
) => React.ReactElement;
|
|
}
|