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';
export interface AdminHeaderOptions {
title: string;
description: string;
title: Mithril.Children;
description: Mithril.Children;
icon: string;
/**
* Will be used as the class for the AdminPage.

View File

@ -21,7 +21,7 @@ type ColumnData = {
/**
* Column title
*/
name: String;
name: Mithril.Children;
/**
* Component(s) to show for this column.
*/