Merge pull request #6842 from StealthC/master

Knob (Typescript): Fix valueTemplate prop type definition
pull/6855/head
Tuğçe Küçükoğlu 2024-11-25 10:07:55 +03:00 committed by GitHub
commit 69a71b6c06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ export interface KnobProps {
* Template string of the value.
* @defaultValue '{value}'
*/
valueTemplate?: (val: number) => string | string | undefined;
valueTemplate?: ((val: number) => string) | string | undefined;
/**
* Index of the element in tabbing order.
* @defaultValue 0