mirror of
https://github.com/flarum/framework.git
synced 2025-01-10 04:53:53 +08:00
c3a684c7ed
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
16 lines
463 B
TypeScript
16 lines
463 B
TypeScript
/**
|
|
* The `SplitDropdown` component is similar to `Dropdown`, but the first child
|
|
* is displayed as its own button prior to the toggle button.
|
|
*/
|
|
export default class SplitDropdown extends Dropdown {
|
|
/**
|
|
* Get the first child. If the first child is an array, the first item in that
|
|
* array will be returned.
|
|
*
|
|
* @return {*}
|
|
* @protected
|
|
*/
|
|
protected getFirstChild(children: any): any;
|
|
}
|
|
import Dropdown from "./Dropdown";
|