Files
pwap/pezkuwi-sdk-ui/packages/page-storage/src/Queries.tsx
T
Claude c71ddb6e0d Add Pezkuwi SDK UI - Polkadot.js Apps clone
- Clone Polkadot.js Apps repository
- Update package.json with Pezkuwi branding
- Add Pezkuwi endpoint to production chains (wss://pezkuwichain.app:9944)
- Create comprehensive README for SDK UI
- Set up project structure with all packages

Next steps:
- Apply Kurdistan colors (Kesk, Sor, Zer, Spi + Black) to UI theme
- Replace logos with Pezkuwi branding
- Test build and deployment
2025-11-14 00:55:17 +00:00

34 lines
695 B
TypeScript

// Copyright 2017-2025 @polkadot/app-storage authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { QueryTypes } from './types.js';
import React from 'react';
import Query from './Query.js';
interface Props {
onRemove: (id: number) => void;
value?: QueryTypes[];
}
function Queries ({ onRemove, value }: Props): React.ReactElement<Props> | null {
if (!value?.length) {
return null;
}
return (
<section className='storage--Queries'>
{value.map((query): React.ReactNode =>
<Query
key={query.id}
onRemove={onRemove}
value={query}
/>
)}
</section>
);
}
export default React.memo(Queries);