2022-02-20 18:46:21 +01:00
|
|
|
import { useTranslation } from 'next-i18next'
|
|
|
|
import PageSizePicker from './pagesize-picker'
|
|
|
|
import OrientationPicker from './orientation-picker'
|
|
|
|
|
|
|
|
const PrintLayoutSettings = props => {
|
|
|
|
const settingsProps = {
|
|
|
|
gist: props.gist,
|
|
|
|
updateGist: props.updateGist
|
|
|
|
}
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className="flex flex-row gap-4 justify-center">
|
|
|
|
<PageSizePicker {...props} />
|
|
|
|
<OrientationPicker {...props} />
|
2022-02-20 19:02:25 +01:00
|
|
|
<pre>{JSON.stringify(props.gist, null ,2)}</pre>
|
2022-02-20 18:46:21 +01:00
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default PrintLayoutSettings
|