Interface RenderContainerProps

Props of a render container.

interface RenderContainerProps {
    children?: ((elements: ReactElement<any, string | JSXElementConstructor<any>>[]) => ReactNode);
}

Properties

Properties

children?: ((elements: ReactElement<any, string | JSXElementConstructor<any>>[]) => ReactNode)

Customizes how elements are rendered in a container. Each element has a non-null key. Elements are in the order they were added.

Type declaration

    • (elements): ReactNode
    • Parameters

      • elements: ReactElement<any, string | JSXElementConstructor<any>>[]

        Elements that are rendered in a container.

      Returns ReactNode