UNPKG

@cfxjs/react-ui

Version:

Modern and minimalist React UI library.

5 lines (4 loc) 600 B
import React, { ReactNode } from 'react'; export declare const sortChildren: (children: ReactNode | undefined, folderComponentType: React.ElementType) => (string | number | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactNodeArray | React.ReactPortal)[]; export declare const makeChildPath: (name: string, parentPath?: string | undefined) => string; export declare const stopPropagation: (event: React.MouseEvent) => void;