Implement DefaultChildType
This commit is contained in:
parent
f268011315
commit
9f9ec8dc65
4 changed files with 78 additions and 7 deletions
|
@ -55,6 +55,7 @@ const GetSVGLayoutConfiguration = () => {
|
|||
Type: 'Chassis',
|
||||
Width: 500,
|
||||
MinWidth: 200,
|
||||
DefaultChildType: 'Trou',
|
||||
Style: {
|
||||
fillOpacity: 1,
|
||||
strokeWidth: 2,
|
||||
|
@ -68,6 +69,7 @@ const GetSVGLayoutConfiguration = () => {
|
|||
DefaultY: 10,
|
||||
Width: 480,
|
||||
Height: 180,
|
||||
DefaultChildType: 'Remplissage',
|
||||
Style: {
|
||||
fillOpacity: 1,
|
||||
strokeWidth: 2,
|
||||
|
@ -77,6 +79,7 @@ const GetSVGLayoutConfiguration = () => {
|
|||
},
|
||||
{
|
||||
Type: 'Remplissage',
|
||||
DefaultChildType: 'Trou',
|
||||
CustomSVG: `
|
||||
<rect width="{width}" height="{height}" style="{style}"></rect>
|
||||
<rect width="{width}" height="{height}" stroke="black" fill-opacity="0"></rect>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue