Files
Momento/memento-note/components/ui/label.tsx
Antigravity 93c6bbca85
Some checks failed
CI / Lint, Test & Build (push) Failing after 5m28s
Deploy to Production / Build and Deploy (push) Has been cancelled
feat: add CI pipeline with ESLint, refactor deploy with rollback + Telegram
- Add eslint.config.mjs (flat config, eslint-config-next@16 + TypeScript)
- Add .gitea/workflows/ci.yaml (lint, test:unit, build on all branches)
- Refactor deploy.yaml: needs: [ci] gate, Docker rollback tag, Telegram notifications
- Fix 3 pre-existing lint errors (empty interfaces, ts-ignore, require imports)
2026-05-16 21:56:25 +00:00

17 lines
398 B
TypeScript

import * as React from "react"
import { cn } from "@/lib/utils"
export type LabelProps = React.LabelHTMLAttributes<HTMLLabelElement>
export function Label({ className, ...props }: LabelProps) {
return (
<label
className={cn(
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
className
)}
{...props}
/>
)
}