mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-07-22 23:05:51 +00:00
60a800b33e
- 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
33 lines
710 B
TypeScript
33 lines
710 B
TypeScript
// Copyright 2017-2025 @polkadot/app-bounties authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import React from 'react';
|
|
|
|
import { styled } from '@polkadot/react-components';
|
|
|
|
interface Props {
|
|
className?: string;
|
|
dataTestId?: string;
|
|
description: string;
|
|
}
|
|
|
|
function Description ({ className = '', dataTestId = '', description }: Props): React.ReactElement<Props> {
|
|
return (
|
|
<StyledDiv
|
|
className={className}
|
|
data-testid={dataTestId}
|
|
>
|
|
{description}
|
|
</StyledDiv>
|
|
);
|
|
}
|
|
|
|
const StyledDiv = styled.div`
|
|
margin-top: 0.28rem;
|
|
font-size: var(--font-size-tiny);
|
|
line-height: 0.85rem;
|
|
color: var(--color-label);
|
|
`;
|
|
|
|
export default React.memo(Description);
|