wip(shared): Working on custom layout
This commit is contained in:
parent
f4ee97a626
commit
34c8a6b2a5
13 changed files with 357 additions and 0 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue