Update useIdeState.ts

This commit is contained in:
Davor Hrg
2021-08-06 11:26:00 +02:00
parent e851593c12
commit e856f8208e

View File

@@ -70,7 +70,7 @@ const main = ({length=1}) => {
} }
const getParameterDefinitions = ()=>{ const getParameterDefinitions = ()=>{
return [ return [
{type:'slider', name:'length', initial:210, caption:'Length', min:210, max:1500}, {type:'slider', name:'length', initial:340, caption:'Length', min:210, max:1500},
{ name: 'group1', type: 'group', caption: 'Group 1: Text Entry' }, { name: 'group1', type: 'group', caption: 'Group 1: Text Entry' },
{ name: 'text', type: 'text', initial: '', size: 20, maxLength: 20, caption: 'Plain Text:', placeholder: '20 characters' }, { name: 'text', type: 'text', initial: '', size: 20, maxLength: 20, caption: 'Plain Text:', placeholder: '20 characters' },
{ name: 'int', type: 'int', initial: 20, min: 1, max: 100, step: 1, caption: 'Integer:' }, { name: 'int', type: 'int', initial: 20, min: 1, max: 100, step: 1, caption: 'Integer:' },