17 lines
485 B
TypeScript
17 lines
485 B
TypeScript
/*
|
|
* Vencord, a Discord client mod
|
|
* Copyright (c) 2025 Vendicated and contributors
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
import { BaseText, type BaseTextProps } from "./BaseText";
|
|
|
|
export type ParagraphProps = BaseTextProps<"p">;
|
|
|
|
export function Paragraph({ children, size = "sm", weight = "normal", ...restProps }: ParagraphProps) {
|
|
return (
|
|
<BaseText tag="p" size={size} weight={weight} {...restProps}>
|
|
{children}
|
|
</BaseText>
|
|
);
|
|
}
|