BookSelector is a component that provides an interactive UI for selecting books. It can be set to
either allow the user to select a single book or to choose multiple books. In the former case, it
will display the range of chapters in the selected book, and in the latter case it will display a
list of the selected books.
Parameters
props: BookSelectorProps
handleBookSelectionModeChange
Callback function to handle changes in
book selection mode.
currentBookName
The name of the currently selected book.
onSelectBooks
Callback function to handle book selection.
selectedBookIds
An array of book IDs that have been selected.
localizedStrings
Object containing localized
strings for the component.
BookSelector is a component that provides an interactive UI for selecting books. It can be set to either allow the user to select a single book or to choose multiple books. In the former case, it will display the range of chapters in the selected book, and in the latter case it will display a list of the selected books.