import clsx from "clsx"; import type { ComponentProps } from "react"; import styles from "./index.module.scss"; import { CopyButton } from "../CopyButton"; type KeyProps = Omit< ComponentProps, "variant" | "text" | "children" > & { publisherKey: string; }; export const PublisherKey = ({ publisherKey, className, ...props }: KeyProps) => ( {`${publisherKey.slice(0, 4)}...${publisherKey.slice(-4)}`} );