feat(notation-legend): Added notation-legend pattern for docs
This commit is contained in:
parent
6be4391b0f
commit
57caee751f
40 changed files with 1325 additions and 0 deletions
16
packages/notation-legend/example/public/App.js
Normal file
16
packages/notation-legend/example/public/App.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
import React from 'react'
|
||||
import freesewing from '@freesewing/core'
|
||||
import { Workbench } from '@freesewing/components'
|
||||
import 'typeface-roboto-condensed'
|
||||
import '@freesewing/css-theme'
|
||||
import './App.css'
|
||||
|
||||
import Pattern from 'pattern'
|
||||
|
||||
const App = (props) => {
|
||||
let instance = new Pattern()
|
||||
let config = instance.config
|
||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
||||
}
|
||||
|
||||
export default App
|
Loading…
Add table
Add a link
Reference in a new issue