pub trait Node {
    fn to_node(&self) -> AnyNode;

    fn to_children(&self) -> Option<Children> { ... }
fn into_node(self) -> AnyNode
    where
        Self: Sized
, { ... }
fn into_children(self) -> Option<Children>
    where
        Self: Sized
, { ... } }
Expand description

Corresponding to ReactNode in typescript

type ReactNode = ReactElement | string | number | ReactNodeArray | boolean | null | undefined;

Required methods

Provided methods

Implementations on Foreign Types

Implementors