1
0
Fork 0
freesewing/packages/albert/example/src/App.js

30 lines
612 B
JavaScript
Raw Normal View History

2020-10-13 19:06:19 +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'
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