1
0
Fork 0
freesewing/packages/freesewing.shared/components/workbench/menu/xray/reset.js

20 lines
448 B
JavaScript
Raw Normal View History

2022-01-29 18:24:36 +01:00
import { Li, SumButton, SumDiv, Deg } from 'shared/components/workbench/menu'
2022-02-08 20:49:19 +01:00
import { useTranslation } from 'next-i18next'
2022-02-08 20:49:19 +01:00
const ResetXray = props => {
const { t } = useTranslation(['app'])
return (
<Li>
<SumButton onClick={() => props.updateGist(['xray'], { enabled: true })}>
<SumDiv>
<Deg />
<span>{ t(`reset`) }</span>
</SumDiv>
</SumButton>
</Li>
)
}
export default ResetXray