removed default export syntax in docs
edited imports so that they no longer rely on a default export to work, changed design/fit-sleeve so it doesn't set a default export
This commit is contained in:
parent
2154d507b6
commit
02d953d3b8
3 changed files with 5 additions and 5 deletions
|
@ -35,8 +35,8 @@ Which can be done as a one-liner since `use()`, `draft()` and
|
|||
## Code example
|
||||
|
||||
```js
|
||||
import Aaron from '@freesewing/aaron' // Design to use
|
||||
import theme from '@freesewing/plugin-theme' // SVG theme
|
||||
import { Aaron } from '@freesewing/aaron' // Design to use
|
||||
import { pluginTheme as theme } from '@freesewing/plugin-theme' // SVG theme
|
||||
|
||||
const svg = new Aaron( // Instantiate pattern
|
||||
{ // Pass in settings. See reference > core > settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue