UNPKG

a11y-player

Version:

An accessible DAISY format audiobook player for React applications

13 lines (12 loc) 487 B
import { default as React } from 'react'; import { FlatSection, SectionsHolder } from '../../utils/sections'; interface SectionListProps { sectionsHolder: SectionsHolder; onSectionClick: (section: FlatSection | null, playImmediately: boolean, currentTime: number) => void; currentSection: FlatSection | null; isDisplayed?: boolean; toggleDisplay: () => void; language?: string; } declare const SectionList: React.FC<SectionListProps>; export default SectionList;