Reference

renderContextConsumerToString

Renders a string with the current value from a context consumer.

Signature

function renderContextConsumerToString<T>(consumer: ReactCompatConsumer<T>, render: (value: T): string): string