• Renders a layer based on the type of highlight.

    Parameters

    • props: RectProps

      The properties for the layer.

    Returns string | number | true | Iterable<ReactNode, any, any> | Element

    The rendered layer component or null if no children are provided.