allow numbers

This commit is contained in:
Anthony Stirling 2025-09-16 16:21:41 +01:00
parent 833e56826d
commit 534064e303

View File

@ -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,