Files
caravel/frontend/src/components/ToggleField.tsx
T
2026-03-27 15:05:22 -07:00

11 lines
367 B
TypeScript

import type { JSX } from "solid-js"
export default function ToggleField(props: { label: string; children: JSX.Element }) {
return (
<div class="flex items-center justify-between gap-3">
<dt class="text-xs font-medium text-gray-500 uppercase tracking-wide">{props.label}</dt>
<dd class="text-sm text-gray-900">{props.children}</dd>
</div>
)
}