Skip to content

Commit e204ee4

Browse files
authored
chore: Make label prop optional in Dropdown component (#1468)
1 parent 210cb9e commit e204ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ui/src/components/Dropdown/Dropdown.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface DropdownProps extends Pick<FloatingProps, "placement" | "trigge
4545
dismissOnClick?: boolean;
4646
floatingArrow?: boolean;
4747
inline?: boolean;
48-
label: ReactNode;
48+
label?: ReactNode;
4949
theme?: DeepPartial<FlowbiteDropdownTheme>;
5050
enableTypeAhead?: boolean;
5151
renderTrigger?: (theme: FlowbiteDropdownTheme) => ReactElement;

0 commit comments

Comments
 (0)