mirror of
https://github.com/coleam00/Archon.git
synced 2025-12-24 02:39:17 -05:00
17 lines
526 B
TypeScript
17 lines
526 B
TypeScript
import { Label } from '@/features/ui/primitives/label';
|
|
import { cn } from '@/features/ui/primitives/styles';
|
|
|
|
interface ConfigRowProps {
|
|
label: string;
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
}
|
|
|
|
export const ConfigRow = ({ label, children, className }: ConfigRowProps) => (
|
|
<div className={cn("flex items-center justify-between", className)}>
|
|
<Label className="text-sm font-medium text-gray-700 dark:text-gray-300">{label}</Label>
|
|
<div className="flex-shrink-0">
|
|
{children}
|
|
</div>
|
|
</div>
|
|
); |