1
0
Fork 0

chore: Reconfigure packages

This commit is contained in:
Joost De Cock 2020-04-26 13:09:54 +02:00
parent 41d8e92e06
commit c9da9d6947
170 changed files with 1668 additions and 2674 deletions

View file

@ -6,16 +6,23 @@ import '@freesewing/css-theme'
import Pattern from 'pattern'
const App = props => {
const App = (props) => {
let instance = new Pattern()
let config = instance.config
// 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={config}
userLanguage="en"
translations={translations}
/>
)
}