// Copyright 2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import type { ChangeEvent } from 'react'; import React, { useCallback } from 'react'; import classNames from 'classnames'; export type Option = Readonly<{ disabled?: boolean; text: string; value: string | number; }>; export type PropsType = Readonly<{ ariaLabel?: string; disabled?: boolean; id?: string; moduleClassName?: string; name?: string; options: ReadonlyArray