30 lines
612 B
JavaScript
30 lines
612 B
JavaScript
![]() |
import React from 'react'
|
||
|
import freesewing from '@freesewing/core'
|
||
|
import Workbench from '@freesewing/components/Workbench'
|
||
|
import 'typeface-roboto-condensed'
|
||
|
import '@freesewing/css-theme'
|
||
|
|
||
|
import Pattern from 'pattern'
|
||
|
|
||
|
const App = (props) => {
|
||
|
// You can use this to add transations
|
||
|
/*
|
||
|
let translations = {
|
||
|
JSON: 'JSON',
|
||
|
someOtherString: 'Some other string that needs translation'
|
||
|
}
|
||
|
*/
|
||
|
|
||
|
return (
|
||
|
<Workbench
|
||
|
freesewing={freesewing}
|
||
|
Pattern={Pattern}
|
||
|
config={Pattern.config}
|
||
|
userLanguage="en"
|
||
|
//translations={translations}
|
||
|
/>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export default App
|