import * as React from 'react' ; import { ReactNode } from 'react' ; import useListController , { ListProps } from './useListController' ; import ListContextProvider from './ListContextProvider' ; example const ListBase = ( { children , ... props } ) => ( < ListContextProvider value = { useListController ( props ) } > { children } < /ListContextProvider>); export default ListBase ;