/// import { ComponentClass, ReactNode } from 'react'; import { PassTroughFunction } from '../../utils/getPassThrough'; export interface ListNodeProps { className?: string; } export interface ListFactoryArgs { ListNode: ComponentClass; passthrough: PassTroughFunction; } export interface ListProps { children: ReactNode; className?: string; } export default function listFactory({ListNode, passthrough}: ListFactoryArgs): ComponentClass;