a11y-player
Version:
An accessible DAISY format audiobook player for React applications
9 lines (8 loc) • 781 B
TypeScript
export { default as DaisyPlayer } from './components/DaisyPlayer/DaisyPlayer';
export { default as DaisyPlayerWithRouter } from './components/DaisyPlayerWithRouter/DaisyPlayerWithRouter';
export type { Section, FlatSection, SectionsHolder } from './utils/sections';
export type { ComponentProps as DaisyPlayerProps, DaisyPlayerRef } from './components/DaisyPlayer/DaisyPlayer';
export type { ComponentProps as DaisyPlayerWithRouterProps } from './components/DaisyPlayerWithRouter/DaisyPlayerWithRouter';
export type { SupportedLanguage, TranslationKey, Translations } from './utils/i18n';
export { flatten, getFirst, getFirstSmil, treeFindBySmil, flatGetNext, flatGetPrev, flatFindBySmil } from './utils/sections';
export { getTranslations, createTranslator } from './utils/i18n';