MCPcopy Create free account
hub / github.com/sqlchat/sqlchat / Props

Interface Props

src/components/kit/Select.tsx:6–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import Icon from "../Icon";
5
6interface Props<T = any> {
7 value: T;
8 itemList: {
9 value: T;
10 label: string;
11 }[];
12 className?: string;
13 placeholder?: string;
14 onValueChange: (value: T) => void;
15}
16
17const Select = (props: Props) => {
18 const { itemList, value, placeholder, className, onValueChange } = props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected