✨ Added tutorial to Examples component
This commit is contained in:
parent
0157b43b68
commit
2c04ee2c93
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,7 @@ import React, { useState } from "react";
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import examples from "@freesewing/examples";
|
import examples from "@freesewing/examples";
|
||||||
import rendertest from "@freesewing/rendertest";
|
import rendertest from "@freesewing/rendertest";
|
||||||
|
import tutorial from "@freesewing/tutorial";
|
||||||
import Draft from "../Draft";
|
import Draft from "../Draft";
|
||||||
import Design from "../Workbench/Design";
|
import Design from "../Workbench/Design";
|
||||||
import IconButton from "@material-ui/core/IconButton";
|
import IconButton from "@material-ui/core/IconButton";
|
||||||
|
@ -40,7 +41,8 @@ const Example = props => {
|
||||||
|
|
||||||
const patterns = {
|
const patterns = {
|
||||||
examples,
|
examples,
|
||||||
rendertest
|
rendertest,
|
||||||
|
tutorial
|
||||||
};
|
};
|
||||||
const settings = { options: { ...props.options } };
|
const settings = { options: { ...props.options } };
|
||||||
if (props.part !== "") settings.only = [props.part];
|
if (props.part !== "") settings.only = [props.part];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue