mirror of
https://github.com/flarum/core.git
synced 2025-05-10 01:16:09 +02:00
Allow any Mithril Children where appropriate
This commit is contained in:
parent
1bdfe0112c
commit
fe9cec0787
@ -13,8 +13,8 @@ import generateElementId from '../utils/generateElementId';
|
|||||||
import ColorPreviewInput from '../../common/components/ColorPreviewInput';
|
import ColorPreviewInput from '../../common/components/ColorPreviewInput';
|
||||||
|
|
||||||
export interface AdminHeaderOptions {
|
export interface AdminHeaderOptions {
|
||||||
title: string;
|
title: Mithril.Children;
|
||||||
description: string;
|
description: Mithril.Children;
|
||||||
icon: string;
|
icon: string;
|
||||||
/**
|
/**
|
||||||
* Will be used as the class for the AdminPage.
|
* Will be used as the class for the AdminPage.
|
||||||
|
@ -21,7 +21,7 @@ type ColumnData = {
|
|||||||
/**
|
/**
|
||||||
* Column title
|
* Column title
|
||||||
*/
|
*/
|
||||||
name: String;
|
name: Mithril.Children;
|
||||||
/**
|
/**
|
||||||
* Component(s) to show for this column.
|
* Component(s) to show for this column.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user