Julius Marmingefmtc7432399 months agoHistory
26 lines · 659 B · TypeScript
RawDownload
"use client"; import { Fieldset as FieldsetPrimitive } from "@base-ui/react/fieldset"; import { cn } from "~/lib/utils"; function Fieldset({ className, ...props }: FieldsetPrimitive.Root.Props) {  return (    <FieldsetPrimitive.Root      className={cn("flex w-full max-w-64 flex-col gap-6", className)}      data-slot="fieldset"      {...props}    />  );}function FieldsetLegend({ className, ...props }: FieldsetPrimitive.Legend.Props) {  return (    <FieldsetPrimitive.Legend      className={cn("font-semibold text-foreground", className)}      data-slot="fieldset-legend"      {...props}    />  );} export { Fieldset, FieldsetLegend };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t