mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-11-28 16:39:55 +00:00
Rebranded terminology: - Polkadot → Pezkuwi - Kusama → Dicle - Westend → Zagros - Rococo → PezkuwiChain - Substrate → Bizinikiwi - parachain → teyrchain Custom logos with Kurdistan brand colors (#e6007a → #86e62a): - bizinikiwi-hexagon.svg - sora-bizinikiwi.svg - hezscanner.svg - heztreasury.svg - pezkuwiscan.svg - pezkuwistats.svg - pezkuwiassembly.svg - pezkuwiholic.svg
33 lines
708 B
TypeScript
33 lines
708 B
TypeScript
// Copyright 2017-2025 @pezkuwi/app-bounties authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import React from 'react';
|
|
|
|
import { styled } from '@pezkuwi/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);
|