Skip to content

Commit

Permalink
Addon-knobs: mark options knob display as required
Browse files Browse the repository at this point in the history
Otherwise the knob will render a null control, whish is probably not what users want.
  • Loading branch information
emilio-martinez committed Sep 7, 2019
1 parent 903770e commit 9198f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/knobs/src/components/types/Options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export type OptionsKnobOptionsDisplay =
| 'multi-select';

export interface OptionsKnobOptions {
display?: OptionsKnobOptionsDisplay;
display: OptionsKnobOptionsDisplay;
}

export interface OptionsTypeKnob<T extends OptionsTypeKnobValue> extends KnobControlConfig<T> {
Expand Down

0 comments on commit 9198f90

Please sign in to comment.