Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
choices: stackOrderPropKeys.map(key => ({
label: key,
value: key,
})),
},
},
{
key: 'curve',
description: `
Defines the curve factory to use
for the area generator.
`,
help: 'Curve interpolation.',
type: 'string',
required: false,
defaultValue: defaults.curve,
controlType: 'choices',
group: 'Base',
controlOptions: {
choices: areaCurvePropKeys.map(key => ({
label: key,
value: key,
})),
},
},
{
key: 'width',
enableControlForFlavors: ['api'],
description: `
not required if using
\`\`.
`,