2023-07-15 12:57:03 +08:00
|
|
|
'use client';
|
|
|
|
|
2023-06-01 12:41:44 +08:00
|
|
|
import InternalDropdown from './dropdown';
|
|
|
|
import DropdownButton from './dropdown-button';
|
2015-06-09 14:46:51 +08:00
|
|
|
|
2023-06-04 11:10:56 +08:00
|
|
|
export type { DropdownProps as DropDownProps, DropdownProps } from './dropdown';
|
2022-04-21 22:09:59 +08:00
|
|
|
export type { DropdownButtonProps, DropdownButtonType } from './dropdown-button';
|
2023-06-01 12:41:44 +08:00
|
|
|
|
|
|
|
const Dropdown = InternalDropdown as typeof InternalDropdown & {
|
|
|
|
Button: typeof DropdownButton;
|
|
|
|
};
|
|
|
|
Dropdown.Button = DropdownButton;
|
|
|
|
|
2015-12-02 15:18:15 +08:00
|
|
|
export default Dropdown;
|