Skip to content

Commit

Permalink
chore: Make label prop optional in Dropdown component (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
raky291 authored Aug 21, 2024
1 parent 210cb9e commit e204ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export interface DropdownProps extends Pick<FloatingProps, "placement" | "trigge
dismissOnClick?: boolean;
floatingArrow?: boolean;
inline?: boolean;
label: ReactNode;
label?: ReactNode;
theme?: DeepPartial<FlowbiteDropdownTheme>;
enableTypeAhead?: boolean;
renderTrigger?: (theme: FlowbiteDropdownTheme) => ReactElement;
Expand Down

0 comments on commit e204ee4

Please sign in to comment.