Files
wdi-dashboard/node_modules/@chakra-ui/react-utils/dist/children.d.ts

12 lines
329 B
TypeScript
Raw Normal View History

2024-08-16 15:06:52 +05:30
import * as react from 'react';
/**
* Gets only the valid children of a component,
* and ignores any nullish or falsy child.
*
* @param children the children
*/
declare function getValidChildren(children: React.ReactNode): react.ReactElement<any, string | react.JSXElementConstructor<any>>[];
export { getValidChildren };