mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 08:13:39 +08:00
15 lines
439 B
TypeScript
15 lines
439 B
TypeScript
|
/**
|
||
|
* The `SessionDropdown` component shows a button with the current user's
|
||
|
* avatar/name, with a dropdown of session controls.
|
||
|
*/
|
||
|
export default class SessionDropdown extends Dropdown {
|
||
|
/**
|
||
|
* Build an item list for the contents of the dropdown menu.
|
||
|
*
|
||
|
* @return {ItemList}
|
||
|
*/
|
||
|
items(): ItemList;
|
||
|
}
|
||
|
import Dropdown from "../../common/components/Dropdown";
|
||
|
import ItemList from "../../common/utils/ItemList";
|