UNPKG

mochi-ui

Version:

Mochi UI is a React component library that helps you build aweomse production ready UI components with a soft UI design.

21 lines (20 loc) 460 B
import React from 'react'; type Props = { value: string; name: string; domName: string; values: { key: string; label: string; }[]; onChange: (item: string) => void; touched?: boolean; setTouched: () => void; error: string; defaultValue: string; unSelectable?: boolean; disabled: boolean; show: boolean; }; declare const DropDown: (props: Props) => React.JSX.Element; export default DropDown;