feature secret rotations v2

This commit is contained in:
Scott Wilson
2025-03-31 20:34:48 -07:00
parent da094383b8
commit 766c1242fd
275 changed files with 9692 additions and 783 deletions
@@ -0,0 +1,22 @@
import { ReactNode } from "react";
import { twMerge } from "tailwind-merge";
type Props = {
label: string;
children?: ReactNode;
className?: string;
labelClassName?: string;
};
export const GenericFieldLabel = ({ label, children, className, labelClassName }: Props) => {
return (
<div className={className}>
<p className={twMerge("text-xs font-medium text-mineshaft-400", labelClassName)}>{label}</p>
{children ? (
<p className="text-sm text-mineshaft-100">{children}</p>
) : (
<p className="text-sm italic text-mineshaft-400/50">None</p>
)}
</div>
);
};
@@ -0,0 +1 @@
export * from "./GenericFieldLabel";