Skip to content

Commit

Permalink
fix radio button type
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Aug 12, 2023
1 parent 29d8e10 commit 4212b16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/primitives/radio-group/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type {
RadioGroupComponentEvents,
RadioGroupItemProps
} from "@melt-ui/svelte";
import type { HTMLInputAttributes } from "svelte/elements";
import type { HTMLButtonAttributes, HTMLInputAttributes } from "svelte/elements";

type Props = Expand<
OmitValue<CreateRadioGroupProps> & {
Expand All @@ -27,7 +27,7 @@ type ItemProps = Expand<
asChild?: boolean;
}
> &
HTMLButtonElement;
HTMLButtonAttributes;

type ItemEvents = RadioGroupComponentEvents["item"] & KeydownClickEvents;

Expand Down

0 comments on commit 4212b16

Please sign in to comment.