1
0
Fork 0
freesewing/sites/shared/components/workbench/layout/cut/index.js

24 lines
497 B
JavaScript
Raw Normal View History

2022-02-20 18:46:21 +01:00
import { useTranslation } from 'next-i18next'
import Settings from './settings'
const CutLayout = props => {
const { t } = useTranslation(['workbench'])
let name = props.design.designConfig.data.name
name = name.replace('@freesewing/', '')
2022-02-20 18:46:21 +01:00
return (
<div>
<h2 className="capitalize">
{
t('layoutThing', { thing: name })
2022-02-20 18:46:21 +01:00
+ ': '
+ t('forCutting')
}
</h2>
<Settings {...props} />
</div>
)
}
export default CutLayout