mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-18 09:29:24 +00:00
allow numbers
This commit is contained in:
parent
833e56826d
commit
534064e303
@ -15,7 +15,7 @@ interface ButtonSelectorProps<T> {
|
|||||||
fullWidth?: boolean;
|
fullWidth?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ButtonSelector = <T extends string>({
|
const ButtonSelector = <T extends string | number>({
|
||||||
value,
|
value,
|
||||||
onChange,
|
onChange,
|
||||||
options,
|
options,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user