mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 09:03:36 +08:00
5f110f73e7
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
15 lines
444 B
TypeScript
15 lines
444 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<any>;
|
|
}
|
|
import Dropdown from "../../common/components/Dropdown";
|
|
import ItemList from "../../common/utils/ItemList";
|