Allow any Mithril Children where appropriate

This commit is contained in:
Alexander Skvortsov 2021-12-12 15:43:37 -05:00
parent d307331603
commit 0e2053da1f
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.
*/