mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08: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';
|
||||
|
||||
export interface AdminHeaderOptions {
|
||||
title: string;
|
||||
description: string;
|
||||
title: Mithril.Children;
|
||||
description: Mithril.Children;
|
||||
icon: string;
|
||||
/**
|
||||
* Will be used as the class for the AdminPage.
|
||||
|
|
|
@ -21,7 +21,7 @@ type ColumnData = {
|
|||
/**
|
||||
* Column title
|
||||
*/
|
||||
name: String;
|
||||
name: Mithril.Children;
|
||||
/**
|
||||
* Component(s) to show for this column.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user