Massive/input.ts
Brandon Presley a69bfd62a6 Use react-hook-forms on SettingsPage
This greatly reduces our lines of code.
Also I thought it might improve performance
to address #135 but it didn't make any difference.
2022-12-24 18:19:35 +13:00

8 lines
116 B
TypeScript

import {Item} from './Select'
export default interface Input<T> {
key: keyof T
name: string
items?: Item[]
}