Files
netbird/client/ui-wails/frontend/src/components/HelpText.tsx
Eduard Gert c3f9514182 wip
2026-05-06 10:47:40 +02:00

23 lines
479 B
TypeScript

import { ReactNode } from "react";
import { cn } from "@/lib/cn";
type Props = {
children?: ReactNode;
margin?: boolean;
className?: string;
};
export const HelpText = ({ children, margin = true, className }: Props) => (
<span
className={cn(
"text-[.8rem] dark:text-nb-gray-300 block font-light tracking-wide",
margin && "mb-2",
className,
)}
>
{children}
</span>
);
export default HelpText;