diff --git a/src/deck-components/Panel.tsx b/src/deck-components/Panel.tsx index 565370b..86c9d6d 100644 --- a/src/deck-components/Panel.tsx +++ b/src/deck-components/Panel.tsx @@ -1,10 +1,11 @@ -import { FC } from 'react'; +import { FC, ReactNode } from 'react'; import { findModuleChild } from '../webpack'; export interface PanelSectionProps { title?: string; spinner?: boolean; + children?: ReactNode } const [panelSection, mod] = findModuleChild((mod: any) => { @@ -18,6 +19,10 @@ const [panelSection, mod] = findModuleChild((mod: any) => { export const PanelSection = panelSection as FC; +export interface PanelSectionRowProps { + children?: ReactNode +} + export const PanelSectionRow = Object.values(mod).filter( (exp: any) => !exp?.toString()?.includes('.PanelSection'), -)[0] as FC; +)[0] as FC;