Skip to content

Commit bb924d8

Browse files
authored
Update DropdownItems.astro
1 parent 34de8ec commit bb924d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/DropdownItems.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
interface Props {
33
class?: string;
44
}
5-
const { class: className } = Astro.props;
5+
const { class: className, ...rest } = Astro.props;
66
---
77

88
<div
9-
class:list={["astronav-dropdown dropdown-toggle hidden", className]}
9+
class:list={["astronav-dropdown dropdown-toggle hidden", className]} {...rest}
1010
aria-expanded="false">
1111
<slot />
1212
</div>

0 commit comments

Comments
 (0)