Skip to content

FlipBookProps

FlipBookProps = Omit<BookOptions, "pages"> & FlipBookEventProps & object

Defined in: react/src/FlipBook.tsx:29

children: ReactNode

Each child is a page. Use Page to mark hard pages or style the page element.

optional className?: string

optional page?: number

Controlled page: when it changes, the book flips there. Pair with onFlip.

optional ref?: Ref<Book>

The book’s API, available from the moment the component mounts.

optional style?: CSSProperties