Vastly improves resilience of Settings Ui against Discord changes. Should now never break even if hell breaks loose Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
17 lines
442 B
TypeScript
17 lines
442 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 SpanProps = BaseTextProps<"span">;
|
|
|
|
export function Span({ children, ...restProps }: SpanProps) {
|
|
return (
|
|
<BaseText tag="span" size="sm" weight="normal" {...restProps}>
|
|
{children}
|
|
</BaseText>
|
|
);
|
|
}
|