handy online tools for AT Protocol boat.kelinci.net
atproto bluesky atcute typescript solidjs
20
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: don't infer from options array

Mary b726e88b 9fd5d0c0

+4 -4
+2 -2
src/components/inputs/radio-input.tsx
··· 9 9 name?: string; 10 10 required?: boolean; 11 11 value?: T | undefined; 12 - options: { value: T; label: string }[]; 13 - onChange?: (next: T, event: BoundInputEvent<HTMLInputElement>) => void; 12 + options: { value: NoInfer<T>; label: string }[]; 13 + onChange?: (next: NoInfer<T>, event: BoundInputEvent<HTMLInputElement>) => void; 14 14 } 15 15 16 16 const RadioInput = <T extends string>(props: RadioInputProps<T>) => {
+2 -2
src/components/inputs/select-input.tsx
··· 11 11 required?: boolean; 12 12 value?: T; 13 13 autofocus?: boolean; 14 - options: { value: T; label: string; disabled?: boolean }[]; 15 - onChange?: (next: T, event: BoundInputEvent<HTMLSelectElement>) => void; 14 + options: { value: NoInfer<T>; label: string; disabled?: boolean }[]; 15 + onChange?: (next: NoInfer<T>, event: BoundInputEvent<HTMLSelectElement>) => void; 16 16 } 17 17 18 18 const SelectInput = <T extends string>(props: SelectInputProps<T>) => {