22 lines
427 B
JavaScript
22 lines
427 B
JavaScript
![]() |
import { useTranslation } from 'next-i18next'
|
||
|
import Settings from './settings'
|
||
|
|
||
|
const CutLayout = props => {
|
||
|
const { t } = useTranslation(['workbench'])
|
||
|
|
||
|
return (
|
||
|
<div>
|
||
|
<h2 className="capitalize">
|
||
|
{
|
||
|
t('layoutThing', { thing: props.pattern.config.name })
|
||
|
+ ': '
|
||
|
+ t('forCutting')
|
||
|
}
|
||
|
</h2>
|
||
|
<Settings {...props} />
|
||
|
</div>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export default CutLayout
|