UNPKG

@airplane/views

Version:

A React library for building Airplane views. Views components are optimized in style and functionality to produce internal apps that are easy to build and maintain.

3 lines (2 loc) 167 B
import { ReactNode, ReactChild } from "react"; export default function flattenChildren(children: ReactNode, depth?: number, keys?: (string | number)[]): ReactChild[];