import React from 'react' import {JaenSectionProvider} from './context' import {useSectionData} from './useSectionData' export const useSection = (sectionName: string) => { const {data, sectionPath} = useSectionData(sectionName, { forceUpdate: true }) const withJaenSection = ( sectionId: string, children: React.ReactNode ): React.ReactNode => { return ( {children} ) } return { data, sectionPath, withJaenSection } }