UNPKG

@memori.ai/memori-react

Version:

[![npm version](https://img.shields.io/github/package-json/v/memori-ai/memori-react)](https://www.npmjs.com/package/@memori.ai/memori-react) ![Tests](https://github.com/memori-ai/memori-react/workflows/CI/badge.svg?branch=main) ![TypeScript Support](https

18 lines (17 loc) 480 B
/// <reference types="react" /> export interface Props<T = any> { className?: string; value?: T; name?: string; displayValue?: string; onChange: (value: T) => void; options: { value: T; label: any; }[]; disabled?: boolean; label?: string; placeholder?: string; } declare const Select: ({ className, value, name, displayValue, options, onChange, disabled, label, placeholder, }: Props) => JSX.Element; export default Select;