toArray.d.ts 179 Bytes Raw Blame History Permalink 1 2 3 4 5 import React from 'react'; export interface Option { keepEmpty?: boolean; } export default function toArray(children: React.ReactNode, option?: Option): React.ReactElement[];