// Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsicFunction } from '@polkadot/api/types'; import type { DropdownOptions } from '../util/types.js'; import React from 'react'; import Dropdown from '../Dropdown.js'; interface Props { className?: string; defaultValue?: string; isDisabled?: boolean; isError?: boolean; onChange?: (value: string) => void; options: DropdownOptions; value: SubmittableExtrinsicFunction<'promise'>; } function SelectSection ({ className = '', defaultValue, isDisabled, isError, onChange, options, value }: Props): React.ReactElement { return ( ); } export default React.memo(SelectSection);