2021-09-10 04:49:15 +08:00
|
|
|
import React from 'react';
|
2021-09-11 04:48:52 +08:00
|
|
|
import { layoutSelectOutput } from '../../layout/context';
|
2021-06-09 21:49:59 +08:00
|
|
|
import PresentationArea from './component';
|
|
|
|
|
2023-02-14 11:28:36 +08:00
|
|
|
const PresentationAreaContainer = ({ presentationIsOpen, darkTheme }) => {
|
2021-09-11 04:48:52 +08:00
|
|
|
const presentation = layoutSelectOutput((i) => i.presentation);
|
2021-06-09 21:49:59 +08:00
|
|
|
|
2023-02-14 11:28:36 +08:00
|
|
|
return <PresentationArea {...{ ...presentation, presentationIsOpen, darkTheme }} />;
|
2021-06-09 21:49:59 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
export default PresentationAreaContainer;
|