Skip to content

Commit

Permalink
added postfix ohm for resistor properties side bar
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitgeddam committed Jun 11, 2020
1 parent 1a5477b commit cc57f4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ export default function ComponentProperties () {

</ListItem>)
}
// else if (keyName === 'VALUE') {
// return (
// <ListItem key={i}>
// <TextField id={keyName} label={keyName} value={val[keyName] || ''} size='small' variant="outlined" onChange={getInputValues} />
// <span style={{ marginLeft: '10px' }}>{val.UNIT || ''}</span>
// </ListItem>)
// }
else if (keyName === 'VALUE') {
return (
<ListItem key={i}>
<TextField id={keyName} label={keyName} value={val[keyName] || ''} size='small' variant="outlined" onChange={getInputValues} />
<span style={{ marginLeft: '10px' }}>{val.UNIT || ''}</span>
</ListItem>)
}

return (
<ListItem key={i}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ const ComponentParameters = {
VALUE: '1',
EXTRA_EXPRESSION: '',
MODEL: '',
UNIT: 'K'
UNIT: 'Ohm'
},

Z: {
Expand Down

0 comments on commit cc57f4b

Please sign in to comment.