1
0
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:
Alexander Skvortsov 2021-12-12 15:43:37 -05:00
parent 1bdfe0112c
commit fe9cec0787
No known key found for this signature in database
GPG Key ID: C4E3BBF9C3412B4C
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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.
*/ */