chore: Reconfigure packages
This commit is contained in:
parent
d7c14d9055
commit
3d0291d6d1
51 changed files with 719 additions and 36 deletions
29
packages/albert/example/src/App.js
Normal file
29
packages/albert/example/src/App.js
Normal file
|
@ -0,0 +1,29 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue