Skip to content

Commit

Permalink
fix: label props name
Browse files Browse the repository at this point in the history
  • Loading branch information
severinlandolt committed Jun 5, 2024
1 parent 3b25677 commit 0faa014
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/Label/Label.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Tremor Raw Label [v0.0.0]
// Tremor Raw Label [v0.0.1]

import React from "react"
import * as LabelPrimitives from "@radix-ui/react-label"

import { cx } from "../../utils/cx"

interface CheckboxProps
interface LabelProps
extends React.ComponentPropsWithoutRef<typeof LabelPrimitives.Root> {
disabled?: boolean
}

const Label = React.forwardRef<
React.ElementRef<typeof LabelPrimitives.Root>,
CheckboxProps
LabelProps
>(({ className, disabled, ...props }, forwardedRef) => (
<LabelPrimitives.Root
ref={forwardedRef}
Expand Down
4 changes: 3 additions & 1 deletion src/components/Label/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Tremor Raw Label Changelog

## 0.0.0
## 0.0.1

### Changes

- Fix: Label props name

0 comments on commit 0faa014

Please sign in to comment.