Knob (Typescript): Fix valueTemplate prop type definition
parent
bd7161298a
commit
c1fad8c362
|
@ -191,7 +191,7 @@ export interface KnobProps {
|
||||||
* Template string of the value.
|
* Template string of the value.
|
||||||
* @defaultValue '{value}'
|
* @defaultValue '{value}'
|
||||||
*/
|
*/
|
||||||
valueTemplate?: (val: number) => string | string | undefined;
|
valueTemplate?: ((val: number) => string) | string | undefined;
|
||||||
/**
|
/**
|
||||||
* Index of the element in tabbing order.
|
* Index of the element in tabbing order.
|
||||||
* @defaultValue 0
|
* @defaultValue 0
|
||||||
|
|
Loading…
Reference in New Issue