ReactNode

How to get ReactNode

import { ReactNode } from 'fds/types';

Type: ReactElement | Array<ReactElement> | Number | Array<Number> | String | Array<String>

Anything that can be rendered: numbers, strings, elements or an array (or fragment) containing these types.

Was this page helpful?