Skip to content

Commit

Permalink
refactor: improve type safety in ListboxSectionBaseProps
Browse files Browse the repository at this point in the history
  • Loading branch information
ritikpal1122 committed Oct 29, 2024
1 parent 11af372 commit cfaed1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {DividerProps} from "@nextui-org/divider";

import {ListboxItemProps} from "../listbox-item";

export interface ListboxSectionBaseProps<T extends object = {}>
export interface ListboxSectionBaseProps<T extends object = Record<string, unknown>>
extends SectionProps<"ul", T, "children" | "title"> {
/**
* The listbox section classNames.
Expand Down

0 comments on commit cfaed1a

Please sign in to comment.