1
0
Fork 0

Added tutorial to Examples component

This commit is contained in:
Joost De Cock 2019-05-31 16:32:57 +02:00
parent 0157b43b68
commit 2c04ee2c93

View file

@ -2,6 +2,7 @@ import React, { useState } from "react";
import PropTypes from "prop-types";
import examples from "@freesewing/examples";
import rendertest from "@freesewing/rendertest";
import tutorial from "@freesewing/tutorial";
import Draft from "../Draft";
import Design from "../Workbench/Design";
import IconButton from "@material-ui/core/IconButton";
@ -40,7 +41,8 @@ const Example = props => {
const patterns = {
examples,
rendertest
rendertest,
tutorial
};
const settings = { options: { ...props.options } };
if (props.part !== "") settings.only = [props.part];