/* * Copyright (C) Contributors to the Suwayomi project * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ import { forwardRef } from 'react'; import { Box, styled } from '@mui/material'; import { IReaderSettings } from '@/typings'; const Image = styled('img')({ marginBottom: 0, width: 'auto', minHeight: '99vh', height: 'auto', maxHeight: '99vh', objectFit: 'contain', }); interface IProps { index: number; image1src: string; image2src: string; settings: IReaderSettings; } const DoublePage = forwardRef((props: IProps, ref: any) => { const { image1src, image2src, index, settings } = props; return ( {`Page {`Page ); }); export default DoublePage;