mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
17 lines
470 B
TypeScript
17 lines
470 B
TypeScript
import type { ReactNode } from "react";
|
|
|
|
export interface QuoteProps {
|
|
className?: string;
|
|
children?: ReactNode;
|
|
background?: "surfaceContainer" | "primaryContainer"
|
|
}
|
|
|
|
export default function Quote({ className, children, background = "primaryContainer" }: QuoteProps) {
|
|
return (
|
|
<div className={`quote bg-${background} ${className}`}>
|
|
<div className="quote-inner">
|
|
{children}
|
|
</div>
|
|
</div>
|
|
)
|
|
} |