2019-09-21 19:42:53 +02:00
|
|
|
import React from 'react'
|
|
|
|
import freesewing from '@freesewing/core'
|
|
|
|
import Workbench from '@freesewing/components/Workbench'
|
|
|
|
import 'typeface-roboto-condensed'
|
|
|
|
import '@freesewing/css-theme'
|
2019-05-28 07:44:07 +02:00
|
|
|
|
2019-09-21 19:42:53 +02:00
|
|
|
import Pattern from 'pattern'
|
2019-05-28 07:44:07 +02:00
|
|
|
|
2020-04-26 13:09:54 +02:00
|
|
|
const App = (props) => {
|
|
|
|
// You can use this to add transations
|
2020-08-02 19:17:06 +02:00
|
|
|
/*
|
2020-04-26 13:09:54 +02:00
|
|
|
let translations = {
|
|
|
|
JSON: 'JSON',
|
|
|
|
someOtherString: 'Some other string that needs translation'
|
|
|
|
}
|
2020-08-02 19:17:06 +02:00
|
|
|
*/
|
2020-04-26 13:09:54 +02:00
|
|
|
|
2020-03-14 15:04:45 +01:00
|
|
|
return (
|
|
|
|
<Workbench
|
|
|
|
freesewing={freesewing}
|
|
|
|
Pattern={Pattern}
|
2020-09-12 19:05:38 +02:00
|
|
|
config={Pattern.config}
|
2020-03-14 15:04:45 +01:00
|
|
|
userLanguage="en"
|
2020-08-02 19:17:06 +02:00
|
|
|
//translations={translations}
|
2020-03-14 15:04:45 +01:00
|
|
|
/>
|
|
|
|
)
|
2019-09-21 19:42:53 +02:00
|
|
|
}
|
2019-05-28 07:44:07 +02:00
|
|
|
|
2019-09-21 19:42:53 +02:00
|
|
|
export default App
|