fix: options
This commit is contained in:
parent
6dfb5c9752
commit
cbca0e3c66
|
@ -58,6 +58,7 @@ const Invocation = ({
|
|||
/>
|
||||
<Literal
|
||||
onChange={onChange}
|
||||
options={description.args[i].options}
|
||||
path={join(path, 'args', i.toString(), 'value')}
|
||||
type={description.args[i].type}
|
||||
value={arg}
|
||||
|
@ -90,6 +91,7 @@ Invocation.propTypes = {
|
|||
description: PropTypes.shape({
|
||||
args: PropTypes.arrayOf(
|
||||
PropTypes.shape({
|
||||
options: PropTypes.shape({}),
|
||||
type: PropTypes.string,
|
||||
}),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue
Block a user