Implement Category list
This commit is contained in:
parent
9f24d2d40a
commit
0476a294d6
7 changed files with 61 additions and 51 deletions
|
@ -77,7 +77,7 @@ const GetSVGLayoutConfiguration = () => {
|
|||
},
|
||||
ShowSelfDimensions: true,
|
||||
IsDimensionBorrower: true,
|
||||
Category: "Category"
|
||||
Category: "Stuff"
|
||||
},
|
||||
{
|
||||
Type: 'Trou',
|
||||
|
@ -96,11 +96,11 @@ const GetSVGLayoutConfiguration = () => {
|
|||
stroke: 'green',
|
||||
fill: 'white'
|
||||
},
|
||||
Category: "Category"
|
||||
Category: "Stuff"
|
||||
},
|
||||
{
|
||||
Type: 'Remplissage',
|
||||
Category: "Category2",
|
||||
Category: "Other stuff",
|
||||
CustomSVG: `
|
||||
<rect width="{width}" height="{height}" style="{style}"></rect>
|
||||
<rect width="{width}" height="{height}" stroke="black" fill-opacity="0"></rect>
|
||||
|
@ -204,6 +204,16 @@ const GetSVGLayoutConfiguration = () => {
|
|||
XPositionReference: 0
|
||||
}
|
||||
],
|
||||
Categories: [
|
||||
{
|
||||
Type: "Stuff",
|
||||
DisplayedText: "Stuff made here"
|
||||
},
|
||||
{
|
||||
Type: "Other stuff",
|
||||
DisplayedText: "Stuff not made here"
|
||||
}
|
||||
],
|
||||
MainContainer: {
|
||||
Height: 200,
|
||||
Width: 800
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue