20 lines
444 B
TypeScript
20 lines
444 B
TypeScript
// Copyright 2017-2024 @polkadot/react-params authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { Props } from '../types.js';
|
|
|
|
import React from 'react';
|
|
|
|
import BasicAccountIdBase from './BasicAccountIdBase.js';
|
|
|
|
function BasicAccountId20 (props: Props): React.ReactElement<Props> {
|
|
return (
|
|
<BasicAccountIdBase
|
|
{...props}
|
|
bytesLength={20}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export default React.memo(BasicAccountId20);
|