1
0
Fork 0

wip(shared): Working on custom layout

This commit is contained in:
Joost De Cock 2022-02-20 18:46:21 +01:00
parent f4ee97a626
commit 34c8a6b2a5
13 changed files with 357 additions and 0 deletions

View file

@ -0,0 +1,20 @@
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} />
<pre>{JSON.stringify(props.gist._state, null ,2)}</pre>
</div>
)
}
export default PrintLayoutSettings