2022-12-01 02:45:18 +00:00
|
|
|
import {Item} from './Select'
|
|
|
|
|
2022-09-25 04:32:49 +00:00
|
|
|
export default interface Input<T> {
|
2022-10-31 04:22:08 +00:00
|
|
|
name: string
|
|
|
|
value?: T
|
|
|
|
onChange: (value: T) => void
|
2022-12-01 02:45:18 +00:00
|
|
|
items?: Item[]
|
2022-09-25 04:32:49 +00:00
|
|
|
}
|