Use IDialogProps

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-09-10 19:01:05 +02:00
parent ee90ff0b98
commit 6e11f2478c
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D
21 changed files with 41 additions and 64 deletions

View file

@ -17,11 +17,10 @@ limitations under the License.
import React from 'react';
import { _t } from "../../../languageHandler";
import { CommandCategories, Commands } from "../../../SlashCommands";
import { IDialogProps } from "./IDialogProps";
import InfoDialog from "./InfoDialog";
interface IProps {
onFinished: () => void;
}
interface IProps extends IDialogProps {}
const SlashCommandHelpDialog: React.FC<IProps> = ({ onFinished }) => {
const categories = {};